diff options
author | Phie <phie@phie.ovh> | 2019-11-12 23:27:44 +0300 |
---|---|---|
committer | Phie <phie@phie.ovh> | 2019-11-12 23:27:44 +0300 |
commit | 2862f32a0a6fddb8fd0fea2738c89c2cf66a2305 (patch) | |
tree | eea9287cd5e9aefbd2b450ada7f2a595c86218ac /templates | |
parent | b95d465bc68be173476c4878b8cff831673ebda4 (diff) |
removing src for jquery
Diffstat (limited to 'templates')
-rwxr-xr-x | templates/index.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/index.php b/templates/index.php index 50e0ca2..6109860 100755 --- a/templates/index.php +++ b/templates/index.php @@ -23,7 +23,7 @@ $file = preg_replace_callback('/<script(.*?)src=\"(.*?\.js(?:\?.*?)?)"/s',functi global $appVersion; if($matches[2] === "libs/jquery.min.js" AND $fullscreen === "no") - return "<script src=\"\""; + return "<script "; return "<script".$matches[1]."src=\"".$matches[2]."?v=".$appVersion."\""; }, $file); // token is needed to pass the csfr check |