From: Andrew Dolgov Date: Tue, 20 May 2008 08:29:13 +0000 (+0100) Subject: allow panel resize when dragging post header X-Git-Tag: 1.2.23-final~22 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=94047498ffb3198594c83f059fd7eb1085d21086;p=tt-rss.git allow panel resize when dragging post header --- diff --git a/feedlist.js b/feedlist.js index 004ae462..62fceca3 100644 --- a/feedlist.js +++ b/feedlist.js @@ -7,7 +7,7 @@ var mouse_is_down = false; var mouse_y = 0; var mouse_x = 0; -var enable_resize = false; +var resize_enabled = false; function viewCategory(cat) { active_feed_is_cat = true; @@ -485,13 +485,13 @@ function mouse_move_handler(e) { } } -function resize_enabled(b) { - enable_resize = b; +function enable_resize(b) { + resize_enabled = b; } function mouse_down_handler(e) { try { - if (enable_resize) { + if (resize_enabled) { mouse_is_down = true; mouse_x = 0; mouse_y = 0; diff --git a/functions.php b/functions.php index 5d496686..96773924 100644 --- a/functions.php +++ b/functions.php @@ -4601,7 +4601,8 @@ print "
"; - print "
"; + print "
"; $entry_author = $line["author"]; diff --git a/tt-rss.css b/tt-rss.css index a37e6870..55265f51 100644 --- a/tt-rss.css +++ b/tt-rss.css @@ -35,6 +35,7 @@ div.postReply div.postHeader { border-color : #88b0f0; margin : 0px 1px 0px 0px; padding : 5px; + cursor : move; } /* div.postReply > div.postHeader { diff --git a/tt-rss.php b/tt-rss.php index e0a5d086..3b6dcada 100644 --- a/tt-rss.php +++ b/tt-rss.php @@ -242,7 +242,7 @@ window.onload = init;