aboutsummaryrefslogtreecommitdiffstats
path: root/src/js/storage.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/js/storage.js')
-rw-r--r--src/js/storage.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/js/storage.js b/src/js/storage.js
index 6d2eeda..c7b5c42 100644
--- a/src/js/storage.js
+++ b/src/js/storage.js
@@ -953,12 +953,15 @@
}
// Migrate assets affected by the change to their new name.
+ var reExternalURL = /^https?:\/\//;
var newListKey;
for ( var oldListKey in stockLists ) {
if ( stockLists.hasOwnProperty(oldListKey) === false ) {
continue;
}
- oldListKey = 'assets/thirdparties/' + oldListKey;
+ if ( reExternalURL.test(oldListKey) === false ) {
+ oldListKey = 'assets/thirdparties/' + oldListKey;
+ }
if ( µb.oldListToNewListMap.hasOwnProperty(oldListKey) === false ) {
continue;
}