aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-02-19 17:04:37 -0800
committerzotlabs <mike@macgirvin.com>2017-02-19 17:04:37 -0800
commit6f811fd7f9032efdbe473afd422bb24a691c4e79 (patch)
tree22d9421386079e10a5770b66eb2a8d6401b24ced /include
parent573846707ceade4d00a4dfe3184d9f8004a3112b (diff)
downloadvolse-hubzilla-6f811fd7f9032efdbe473afd422bb24a691c4e79.tar.gz
volse-hubzilla-6f811fd7f9032efdbe473afd422bb24a691c4e79.tar.bz2
volse-hubzilla-6f811fd7f9032efdbe473afd422bb24a691c4e79.zip
bug in adding main.js as a js source
Diffstat (limited to 'include')
-rwxr-xr-xinclude/plugin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/plugin.php b/include/plugin.php
index 068e482d6..045efb805 100755
--- a/include/plugin.php
+++ b/include/plugin.php
@@ -684,7 +684,7 @@ function head_get_js() {
foreach(App::$js_sources as $sources) {
if(count($sources)) {
foreach($sources as $source) {
- if($src === 'main.js')
+ if($source === 'main.js')
continue;
$str .= format_js_if_exists($source);
}