From f3f67c1b53d2d93486fc3c57253b8af4d5e7a0c7 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 7 Nov 2010 14:38:59 +0300 Subject: remove old-style debugging --- tt-rss.js | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'tt-rss.js') diff --git a/tt-rss.js b/tt-rss.js index 6dd53c8b5..9aaa4c52c 100644 --- a/tt-rss.js +++ b/tt-rss.js @@ -272,11 +272,6 @@ function init() { if (!genericSanityCheck()) return; - if (getURLParam('debug')) { - Element.show("debug_output"); - console.log('debug mode activated'); - } - var params = "&ua=" + param_escape(navigator.userAgent); loading_set_progress(30); @@ -935,17 +930,6 @@ function 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"); -- cgit v1.2.3