summaryrefslogtreecommitdiff
path: root/prefs.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2010-11-07 14:38:59 +0300
committerAndrew Dolgov <[email protected]>2010-11-07 14:38:59 +0300
commitf3f67c1b53d2d93486fc3c57253b8af4d5e7a0c7 (patch)
treec827d9cd0691bc843a4d15592c25fb1e1d4461b7 /prefs.js
parent3fb63f75a29afe5b40436049b4e84271fe77c7de (diff)
remove old-style debugging
Diffstat (limited to 'prefs.js')
-rw-r--r--prefs.js15
1 files changed, 0 insertions, 15 deletions
diff --git a/prefs.js b/prefs.js
index 33887b15e..c2f9d65c0 100644
--- a/prefs.js
+++ b/prefs.js
@@ -1150,11 +1150,6 @@ function init() {
try {
- if (getURLParam('debug')) {
- Element.show("debug_output");
- console.log('debug mode activated');
- }
-
loading_set_progress(30);
var query = "?op=rpc&subop=sanityCheck";
@@ -1353,16 +1348,6 @@ function pref_hotkey_handler(e) {
if (!hotkey_prefix) {
- if (keycode == 68 && shift_key) { // d
- if (!Element.visible("debug_output")) {
- Element.show("debug_output");
- console.log('debug mode activated');
- } else {
- Element.hide("debug_output");
- }
- return;
- }
-
if ((keycode == 191 || keychar == '?') && shift_key) { // ?
if (!Element.visible("hotkey_help_overlay")) {
//Element.show("hotkey_help_overlay");