Small fixes

This commit is contained in:
Jordan Bates 2013-05-06 02:42:27 -07:00
parent 06900d0a21
commit 2a8c7c8ba3
5 changed files with 16 additions and 13 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -50,6 +50,9 @@ a[href="javascript:;"] {
#boardNavDesktop {
display: none !important;
}
a:active {
outline: none;
}
/* 4chan style fixes */
.opContainer, .op {

View File

@ -1,7 +1,7 @@
ThreadWatcher =
init: ->
return unless Conf['Thread Watcher']
@sc = sc = $.el 'a',
@shortcut = sc = $.el 'a',
textContent: 'Watcher'
id: 'watcher-link'
href: 'javascript:;'
@ -13,9 +13,9 @@ ThreadWatcher =
$.on d, 'QRPostSuccessful', @cb.post
$.sync 'WatchedThreads', @refresh
$.on sc, 'click', @toggleWatcher
Header.addShortcut sc
$.ready =>
ThreadWatcher.refresh()
$.add d.body, ThreadWatcher.dialog
@ -55,7 +55,7 @@ ThreadWatcher =
div = $.el 'div'
$.add div, [x, $.tn(' '), link]
nodes.push div
$.rmAll ThreadWatcher.dialog
$.add ThreadWatcher.dialog, nodes
@ -69,7 +69,7 @@ ThreadWatcher =
return
toggleWatcher: ->
$.toggleClass ThreadWatcher.sc, 'disabled'
$.toggleClass ThreadWatcher.shortcut, 'disabled'
if ThreadWatcher.dialog.hidden
ThreadWatcher.dialog.hidden = false
else