summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn McLear <john@mclear.co.uk>2015-06-17 18:16:18 +0100
committerJohn McLear <john@mclear.co.uk>2015-06-17 18:16:18 +0100
commit8af8c37896056e9b61080144cf4de683897e169e (patch)
treed5ed16c921d70e5f23e749eb8abda32c799d6fd8
parenta0aa9470a383e5361e544a9ba76fad06f69fd628 (diff)
parent32ba48835a753b3c7f85ec7db1318fcd91fd1484 (diff)
downloadetherpad-lite-8af8c37896056e9b61080144cf4de683897e169e.zip
Merge pull request #2695 from goldquest/dev_overallImportBug
On Import, when successful, loading circle didn't go away
-rw-r--r--src/static/js/pad.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/static/js/pad.js b/src/static/js/pad.js
index e820b76f..6ee39b6b 100644
--- a/src/static/js/pad.js
+++ b/src/static/js/pad.js
@@ -467,7 +467,7 @@ var pad = {
{
var newHref = new RegExp(/.*\/p\/[^\/]+/).exec(document.location.pathname) || clientVars.padId;
newHref = newHref[0];
- if (options != null){
+ if (typeof options != "undefined" && options != null){
newHref = newHref + '?' + options;
}