Skip to content

Commit 30e6f66

Browse files
committed
Do not use Google's CDN by default.
All required Javascript libraries come with MythWeb. No use to rely on Google. Bugfix: jquery 1.9.1 was included, but jquery 3.2.1 used. Fix broken link, update local jquery to same version 3.2.1 as being used with Google's CDN.
1 parent 92f0f9b commit 30e6f66

4 files changed

Lines changed: 7 additions & 8 deletions

File tree

includes/db_update.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
setting('WebDBSchemaVer', null, ++$db_vers, false);
6262

6363
case 4:
64-
setting('mythweb_use_cdn', null, true);
64+
setting('mythweb_use_cdn', null, false);
6565
setting('WebDBSchemaVer', null, ++$db_vers, false);
6666

6767
// All other numbers should run their changes sequentially

js/jquery-1.9.1.min.js

Lines changed: 0 additions & 5 deletions
This file was deleted.

js/jquery-3.2.1.min.js

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

modules/_shared/tmpl/default/header.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@
106106
}
107107
else
108108
{
109-
print "<script type=\"text/javascript\" src=\"js/ajax/libs/prototype/1.7.3.0/prototype.js\"></script>";
110-
print "<script type=\"text/javascript\" src=\"js/ajax/libs/jquery/3.2.1/jquery.min.js\"></script>";
109+
print "<script type=\"text/javascript\" src=\"js/prototype.js\"></script>";
110+
print "<script type=\"text/javascript\" src=\"js/jquery-3.2.1.min.js\"></script>";
111111
}
112112
?>
113113

0 commit comments

Comments
 (0)