aboutsummaryrefslogtreecommitdiffstats
path: root/app/assets/javascripts/general.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/general.js')
-rw-r--r--app/assets/javascripts/general.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/assets/javascripts/general.js b/app/assets/javascripts/general.js
index 856f4c6d4..639a6917b 100644
--- a/app/assets/javascripts/general.js
+++ b/app/assets/javascripts/general.js
@@ -57,4 +57,12 @@ $(document).ready(function() {
$('#everypage').hide();
}
+ // "Create widget" page
+ $("#widgetbox").select()
+ // Chrome workaround
+ $("widgetbox").mouseup(function() {
+ // Prevent further mouseup intervention
+ $this.unbind("mouseup");
+ return false;
+ });
})