From c918efc8731c6b64822ac092bb4292860f4973cc Mon Sep 17 00:00:00 2001 From: Joseph Atkins-Turkish Date: Wed, 10 Feb 2016 11:10:02 -0800 Subject: [PATCH] Don't append return_to to config page data URIs --- ide/static/ide/js/libpebble/libpebble.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ide/static/ide/js/libpebble/libpebble.js b/ide/static/ide/js/libpebble/libpebble.js index d62ed101..c5109bdf 100644 --- a/ide/static/ide/js/libpebble/libpebble.js +++ b/ide/static/ide/js/libpebble/libpebble.js @@ -231,6 +231,9 @@ Pebble = function(proxy, token) { }; var manipulate_url = function(url) { + if (url.startsWith("data")) { + return url; + } var hash_parts = url.split('#'); var query_parts = hash_parts[0].split('?'); console.log(hash_parts, query_parts);