8222526: Use of no longer existing jquery directory in script.js
authorhannesw
Tue, 23 Apr 2019 16:50:17 +0200
changeset 54598 a9953a8ccd66
parent 54597 ab57d6bebed8
child 54599 f5657f30bb01
8222526: Use of no longer existing jquery directory in script.js Reviewed-by: jjg
src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/resources/script.js
--- a/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/resources/script.js	Thu Apr 11 14:56:52 2019 +0200
+++ b/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/resources/script.js	Tue Apr 23 16:50:17 2019 +0200
@@ -29,11 +29,11 @@
 var memberSearchIndex;
 var tagSearchIndex;
 function loadScripts(doc, tag) {
-    createElem(doc, tag, 'jquery/jszip/dist/jszip.js');
-    createElem(doc, tag, 'jquery/jszip-utils/dist/jszip-utils.js');
+    createElem(doc, tag, 'script-dir/jszip/dist/jszip.js');
+    createElem(doc, tag, 'script-dir/jszip-utils/dist/jszip-utils.js');
     if (window.navigator.userAgent.indexOf('MSIE ') > 0 || window.navigator.userAgent.indexOf('Trident/') > 0 ||
             window.navigator.userAgent.indexOf('Edge/') > 0) {
-        createElem(doc, tag, 'jquery/jszip-utils/dist/jszip-utils-ie.js');
+        createElem(doc, tag, 'script-dir/jszip-utils/dist/jszip-utils-ie.js');
     }
     createElem(doc, tag, 'search.js');