aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);
}