summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2008-05-20 09:22:14 +0100
committerAndrew Dolgov <[email protected]>2008-05-20 09:22:14 +0100
commit0c5897c86455793ca591f930403f91e95c69de0f (patch)
treec67d53a6ed6cfc975043c0313e0b1949cd88ed16
parent877be7815b5a122e7090ebdd8772997c5f0c23c8 (diff)
make debug window draggable
-rw-r--r--prefs.js2
-rw-r--r--tt-rss.js2
2 files changed, 4 insertions, 0 deletions
diff --git a/prefs.js b/prefs.js
index c405a4f19..a3f993d04 100644
--- a/prefs.js
+++ b/prefs.js
@@ -1459,6 +1459,8 @@ function init() {
debug('debug mode activated');
}
+ new Draggable('debug_output');
+
// IE kludge
if (!xmlhttp) {
document.getElementById("prefContent").innerHTML =
diff --git a/tt-rss.js b/tt-rss.js
index 328b4c5a7..4e0d2a229 100644
--- a/tt-rss.js
+++ b/tt-rss.js
@@ -343,6 +343,8 @@ function init() {
debug('debug mode activated');
}
+ new Draggable('debug_output');
+
var params = "&ua=" + param_escape(navigator.userAgent);
loading_set_progress(30);