Commit ff36ab5e authored by Sven Franck's avatar Sven Franck

added text for typeof url_object to only decodeURI on string-based links

parent 48d8ce80
...@@ -6693,7 +6693,7 @@ ...@@ -6693,7 +6693,7 @@
raw_url = window.location.href; raw_url = window.location.href;
} }
if (data && data.options.reverse) { if (typeof raw_url === "string" && data && data.options.reverse) {
raw_url = window.decodeURIComponent(raw_url); raw_url = window.decodeURIComponent(raw_url);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment