Apply icons to all shortcuts, really.
@seaweedchan: This seems more your forte than mine.
This commit is contained in:
parent
ec32e54ef5
commit
decf5e4fab
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -2,8 +2,7 @@ Settings =
|
||||
init: ->
|
||||
# 4chan X settings link
|
||||
link = $.el 'a',
|
||||
className: 'settings-link'
|
||||
textContent: 'Settings'
|
||||
className: 'settings-link icon-wrench'
|
||||
href: 'javascript:;'
|
||||
$.on link, 'click', Settings.open
|
||||
|
||||
|
||||
@ -206,8 +206,7 @@ a {
|
||||
content: "]\\00a0";
|
||||
}
|
||||
.dead-thread,
|
||||
.disabled,
|
||||
.expand-all-shortcut {
|
||||
.disabled {
|
||||
opacity: .45;
|
||||
}
|
||||
#shortcuts {
|
||||
|
||||
@ -3,10 +3,9 @@ ThreadWatcher =
|
||||
return if !Conf['Thread Watcher']
|
||||
|
||||
@shortcut = sc = $.el 'a',
|
||||
textContent: 'Watcher'
|
||||
id: 'watcher-link'
|
||||
href: 'javascript:;'
|
||||
className: 'disabled'
|
||||
className: 'disabled icon-bookmark'
|
||||
|
||||
@db = new DataBoard 'watchedThreads', @refresh, true
|
||||
@dialog = UI.dialog 'thread-watcher', 'top: 50px; left: 0px;', """
|
||||
|
||||
@ -6,8 +6,7 @@ QR =
|
||||
|
||||
if Conf['QR Shortcut']
|
||||
sc = $.el 'a',
|
||||
className: "qr-shortcut #{unless Conf['Persistent QR'] then 'disabled' else ''}"
|
||||
textContent: 'QR'
|
||||
className: "qr-shortcut icon-comment-alt #{unless Conf['Persistent QR'] then 'disabled' else ''}"
|
||||
title: 'Quick Reply'
|
||||
href: 'javascript:;'
|
||||
$.on sc, 'click', ->
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user