@nami-doc doesnt like fatties
This commit is contained in:
parent
82cda02a10
commit
c4aaecc860
@ -7194,8 +7194,7 @@
|
|||||||
|
|
||||||
ThreadWatcher = {
|
ThreadWatcher = {
|
||||||
init: function() {
|
init: function() {
|
||||||
var sc,
|
var sc;
|
||||||
_this = this;
|
|
||||||
|
|
||||||
if (!Conf['Thread Watcher']) {
|
if (!Conf['Thread Watcher']) {
|
||||||
return;
|
return;
|
||||||
@ -7281,11 +7280,7 @@
|
|||||||
},
|
},
|
||||||
toggleWatcher: function() {
|
toggleWatcher: function() {
|
||||||
$.toggleClass(ThreadWatcher.shortcut, 'disabled');
|
$.toggleClass(ThreadWatcher.shortcut, 'disabled');
|
||||||
if (ThreadWatcher.dialog.hidden) {
|
return ThreadWatcher.dialog.hidden = !ThreadWatcher.dialog.hidden;
|
||||||
return ThreadWatcher.dialog.hidden = false;
|
|
||||||
} else {
|
|
||||||
return ThreadWatcher.dialog.hidden = true;
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
cb: {
|
cb: {
|
||||||
toggle: function() {
|
toggle: function() {
|
||||||
|
|||||||
@ -7215,8 +7215,7 @@
|
|||||||
|
|
||||||
ThreadWatcher = {
|
ThreadWatcher = {
|
||||||
init: function() {
|
init: function() {
|
||||||
var sc,
|
var sc;
|
||||||
_this = this;
|
|
||||||
|
|
||||||
if (!Conf['Thread Watcher']) {
|
if (!Conf['Thread Watcher']) {
|
||||||
return;
|
return;
|
||||||
@ -7302,11 +7301,7 @@
|
|||||||
},
|
},
|
||||||
toggleWatcher: function() {
|
toggleWatcher: function() {
|
||||||
$.toggleClass(ThreadWatcher.shortcut, 'disabled');
|
$.toggleClass(ThreadWatcher.shortcut, 'disabled');
|
||||||
if (ThreadWatcher.dialog.hidden) {
|
return ThreadWatcher.dialog.hidden = !ThreadWatcher.dialog.hidden;
|
||||||
return ThreadWatcher.dialog.hidden = false;
|
|
||||||
} else {
|
|
||||||
return ThreadWatcher.dialog.hidden = true;
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
cb: {
|
cb: {
|
||||||
toggle: function() {
|
toggle: function() {
|
||||||
|
|||||||
@ -7194,8 +7194,7 @@
|
|||||||
|
|
||||||
ThreadWatcher = {
|
ThreadWatcher = {
|
||||||
init: function() {
|
init: function() {
|
||||||
var sc,
|
var sc;
|
||||||
_this = this;
|
|
||||||
|
|
||||||
if (!Conf['Thread Watcher']) {
|
if (!Conf['Thread Watcher']) {
|
||||||
return;
|
return;
|
||||||
@ -7281,11 +7280,7 @@
|
|||||||
},
|
},
|
||||||
toggleWatcher: function() {
|
toggleWatcher: function() {
|
||||||
$.toggleClass(ThreadWatcher.shortcut, 'disabled');
|
$.toggleClass(ThreadWatcher.shortcut, 'disabled');
|
||||||
if (ThreadWatcher.dialog.hidden) {
|
return ThreadWatcher.dialog.hidden = !ThreadWatcher.dialog.hidden;
|
||||||
return ThreadWatcher.dialog.hidden = false;
|
|
||||||
} else {
|
|
||||||
return ThreadWatcher.dialog.hidden = true;
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
cb: {
|
cb: {
|
||||||
toggle: function() {
|
toggle: function() {
|
||||||
|
|||||||
@ -6,7 +6,7 @@ ThreadStats =
|
|||||||
@dialog = sc = $.el 'span',
|
@dialog = sc = $.el 'span',
|
||||||
innerHTML: "<span id=post-count>0</span> / <span id=file-count>0</span>"
|
innerHTML: "<span id=post-count>0</span> / <span id=file-count>0</span>"
|
||||||
id: 'thread-stats'
|
id: 'thread-stats'
|
||||||
$.ready =>
|
$.ready ->
|
||||||
Header.addShortcut sc
|
Header.addShortcut sc
|
||||||
else
|
else
|
||||||
@dialog = sc = UI.dialog 'thread-stats', 'bottom: 0px; right: 0px;',
|
@dialog = sc = UI.dialog 'thread-stats', 'bottom: 0px; right: 0px;',
|
||||||
|
|||||||
@ -8,7 +8,7 @@ ThreadUpdater =
|
|||||||
@dialog = sc = $.el 'span',
|
@dialog = sc = $.el 'span',
|
||||||
innerHTML: "<span id=update-status></span><span id=update-timer title='Update now'></span>"
|
innerHTML: "<span id=update-status></span><span id=update-timer title='Update now'></span>"
|
||||||
id: 'updater'
|
id: 'updater'
|
||||||
$.ready =>
|
$.ready ->
|
||||||
Header.addShortcut sc
|
Header.addShortcut sc
|
||||||
else
|
else
|
||||||
@dialog = sc = UI.dialog 'updater', 'bottom: 0px; left: 0px;',
|
@dialog = sc = UI.dialog 'updater', 'bottom: 0px; left: 0px;',
|
||||||
|
|||||||
@ -17,7 +17,7 @@ ThreadWatcher =
|
|||||||
|
|
||||||
Header.addShortcut sc
|
Header.addShortcut sc
|
||||||
|
|
||||||
$.ready =>
|
$.ready ->
|
||||||
ThreadWatcher.refresh()
|
ThreadWatcher.refresh()
|
||||||
$.add d.body, ThreadWatcher.dialog
|
$.add d.body, ThreadWatcher.dialog
|
||||||
ThreadWatcher.dialog.hidden = true
|
ThreadWatcher.dialog.hidden = true
|
||||||
@ -42,7 +42,7 @@ ThreadWatcher =
|
|||||||
$.get 'WatchedThreads', {}, (item) ->
|
$.get 'WatchedThreads', {}, (item) ->
|
||||||
ThreadWatcher.refresh item['WatchedThreads']
|
ThreadWatcher.refresh item['WatchedThreads']
|
||||||
return
|
return
|
||||||
nodes = [$('.move', ThreadWatcher.dialog)]
|
nodes = [$('.move', ThreadWatcher.dialog)]
|
||||||
for board of watched
|
for board of watched
|
||||||
for id, props of watched[board]
|
for id, props of watched[board]
|
||||||
x = $.el 'a',
|
x = $.el 'a',
|
||||||
@ -71,10 +71,7 @@ ThreadWatcher =
|
|||||||
|
|
||||||
toggleWatcher: ->
|
toggleWatcher: ->
|
||||||
$.toggleClass ThreadWatcher.shortcut, 'disabled'
|
$.toggleClass ThreadWatcher.shortcut, 'disabled'
|
||||||
if ThreadWatcher.dialog.hidden
|
ThreadWatcher.dialog.hidden = !ThreadWatcher.dialog.hidden
|
||||||
ThreadWatcher.dialog.hidden = false
|
|
||||||
else
|
|
||||||
ThreadWatcher.dialog.hidden = true
|
|
||||||
|
|
||||||
cb:
|
cb:
|
||||||
toggle: ->
|
toggle: ->
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user