From d8454fc826d7ddb2efcba5c525398eff857bdd26 Mon Sep 17 00:00:00 2001 From: Ross Gammon Date: Thu, 3 Dec 2015 21:57:37 +0100 Subject: [PATCH] 7763: Sourceless Javascript Files in release tarball This one removes the last hardcoded path to the local copy of jquery and uses the online CDN provided by Google instead. --- gramps/plugins/webstuff/webstuff.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gramps/plugins/webstuff/webstuff.py b/gramps/plugins/webstuff/webstuff.py index 37e384b66..c527eb352 100644 --- a/gramps/plugins/webstuff/webstuff.py +++ b/gramps/plugins/webstuff/webstuff.py @@ -48,7 +48,6 @@ def load_on_reg(dbstate, uistate, plugin): from functools import partial path_css = partial(os.path.join, DATA_DIR, "css") path_img = partial(os.path.join, IMAGE_DIR, "webstuff") - path_js = partial(os.path.join, DATA_DIR, "javascript") CSS_FILES = [ # id, user selectable?, translated_name, option name, fullpath, @@ -129,7 +128,7 @@ def load_on_reg(dbstate, uistate, plugin): # WebKit/ Html5/ CSS3 Animated Drop Down Style Sheet ["Animated DropDown", 0, "Animated DropDown", path_css("Web_Citations-Animated.css"), None, [], - path_js("jquery-1.7.1.min.js") ], + "https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" ], # Source Page Citations Referents Outline Style sheet... ["Outline", 0, "Outline Citations",