1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-20 20:01:28 +00:00

remove old-style debugging

This commit is contained in:
Andrew Dolgov
2010-11-07 14:38:59 +03:00
parent 3fb63f75a2
commit f3f67c1b53
6 changed files with 3 additions and 85 deletions

View File

@@ -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");