Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CarnetApp/CarnetNextcloud.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhie <phie@phie.ovh>2019-11-12 23:27:44 +0300
committerPhie <phie@phie.ovh>2019-11-12 23:27:44 +0300
commit2862f32a0a6fddb8fd0fea2738c89c2cf66a2305 (patch)
treeeea9287cd5e9aefbd2b450ada7f2a595c86218ac /templates
parentb95d465bc68be173476c4878b8cff831673ebda4 (diff)
removing src for jquery
Diffstat (limited to 'templates')
-rwxr-xr-xtemplates/index.php2
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