From 7f6ecc567030bef4c5c26f6a4e8559e84f5874d7 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Wed, 18 Feb 2015 14:12:38 -0800 Subject: [PATCH] Fix watch thread icon in Chromium 41+. --- src/General/css/style.css | 3 +-- src/Monitoring/ThreadWatcher.coffee | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/General/css/style.css b/src/General/css/style.css index b28555946..9b451646b 100755 --- a/src/General/css/style.css +++ b/src/General/css/style.css @@ -46,8 +46,7 @@ cursor: move; overflow: hidden; } -label, -.watch-thread-link { +label { cursor: pointer; } a[href="javascript:;"] { diff --git a/src/Monitoring/ThreadWatcher.coffee b/src/Monitoring/ThreadWatcher.coffee index 07682df66..23ca14ead 100755 --- a/src/Monitoring/ThreadWatcher.coffee +++ b/src/Monitoring/ThreadWatcher.coffee @@ -68,7 +68,8 @@ ThreadWatcher = if @isClone toggler = $ '.watch-thread-link', @nodes.post else - toggler = $.el 'img', + toggler = $.el 'a', + href: 'javascript:;' className: 'watch-thread-link' $.before $('input', @nodes.post), toggler $.on toggler, 'click', ThreadWatcher.cb.toggle