aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorSimon <simon@kisikew.org>2012-03-16 18:24:26 -0700
committerSimon <simon@kisikew.org>2012-03-16 18:24:26 -0700
commit4a6f114ec008002f439214aac1d006d8db4051ac (patch)
tree8cb7d68340d40e78e8a8ea2a1618250749a6edb9 /mod
parent8af36b92bb3a78235f5741c764d034dc66b959b2 (diff)
parent75883b196ed222b9972c87ce00b8e7c2ab29c05e (diff)
downloadvolse-hubzilla-4a6f114ec008002f439214aac1d006d8db4051ac.tar.gz
volse-hubzilla-4a6f114ec008002f439214aac1d006d8db4051ac.tar.bz2
volse-hubzilla-4a6f114ec008002f439214aac1d006d8db4051ac.zip
Merge pull request #144 from simonlnu/master
remove auto-complete from some themes since the comment one is now global
Diffstat (limited to 'mod')
-rwxr-xr-xmod/display.php10
1 files changed, 9 insertions, 1 deletions
diff --git a/mod/display.php b/mod/display.php
index f428149e8..81ed174ac 100755
--- a/mod/display.php
+++ b/mod/display.php
@@ -16,7 +16,15 @@ function display_content(&$a) {
$o = '<div id="live-display"></div>' . "\r\n";
- $a->page['htmlhead'] .= '<script>$(document).ready(function() { $(".comment-edit-wrapper textarea").contact_autocomplete(baseurl+"/acl"); });</script>';
+ $a->page['htmlhead'] .= <<<EOT
+<script>
+$(document).ready(function() {
+ $(".comment-edit-wrapper textarea").contact_autocomplete(baseurl+"/acl");
+ // make auto-complete work in more places
+ $(".wall-item-comment-wrapper textarea").contact_autocomplete(baseurl+"/acl");
+});
+</script>
+EOT;
$nick = (($a->argc > 1) ? $a->argv[1] : '');