aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js/util.js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2017-03-11 17:48:30 -0800
committerAlex Yatskov <alex@foosoft.net>2017-03-11 17:48:30 -0800
commit83e2fd47485f7036c387563277db06aec14aa462 (patch)
treed0335ae917308dcb22bef19ad6b909cfd3f4b366 /ext/bg/js/util.js
parent2c86e875765b1ed4f1753ab51af5583cc9606760 (diff)
add options for setting popup width, height, offset
Diffstat (limited to 'ext/bg/js/util.js')
-rw-r--r--ext/bg/js/util.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/bg/js/util.js b/ext/bg/js/util.js
index 7f031040..f9b221b3 100644
--- a/ext/bg/js/util.js
+++ b/ext/bg/js/util.js
@@ -79,7 +79,10 @@ function optionsSetDefaults(options) {
groupResults: true,
softKatakana: true,
maxResults: 32,
- showAdvanced: false
+ showAdvanced: false,
+ popupWidth: 400,
+ popupHeight: 250,
+ popupOffset: 10
},
scanning: {