aboutsummaryrefslogtreecommitdiffstats
path: root/pages
diff options
context:
space:
mode:
authorStephen Blott2017-10-29 05:57:38 +0000
committerStephen Blott2017-10-29 05:57:42 +0000
commit0efbdff806ec2ba2139497458ade294a57d18ad8 (patch)
tree98935f28076cb886b3bd34e5bbd6351f697b6d4d /pages
parentb1f6da21a882f84965de73eea175475f5d8f7b37 (diff)
downloadvimium-0efbdff806ec2ba2139497458ade294a57d18ad8.tar.bz2
Make backup JSON human readable.
Diffstat (limited to 'pages')
-rw-r--r--pages/options.coffee2
1 files changed, 1 insertions, 1 deletions
diff --git a/pages/options.coffee b/pages/options.coffee
index 416b3ea7..c3fa82fb 100644
--- a/pages/options.coffee
+++ b/pages/options.coffee
@@ -335,7 +335,7 @@ DomUtils?.documentReady ->
backup[option.field] = option.readValueFromElement()
# Create the blob in the background page so it isn't garbage collected when the page closes in FF.
bgWin = chrome.extension.getBackgroundPage()
- blob = new bgWin.Blob [ JSON.stringify backup ]
+ blob = new bgWin.Blob [ JSON.stringify backup, null, 2 ]
url = bgWin.URL.createObjectURL blob
a = $ "backupLink"
a.href = url