Fix threadstats title

This commit is contained in:
Zixaphir 2014-12-15 08:50:21 -07:00
parent 2dbe9c7587
commit 9cc40359b3
4 changed files with 7 additions and 7 deletions

View File

@ -1,5 +1,5 @@
/* /*
* appchan x - Version 2.9.43 - 2014-12-14 * appchan x - Version 2.9.43 - 2014-12-15
* *
* Licensed under the MIT license. * Licensed under the MIT license.
* https://github.com/zixaphir/appchan-x/blob/master/LICENSE * https://github.com/zixaphir/appchan-x/blob/master/LICENSE

View File

@ -28,7 +28,7 @@
// ==/UserScript== // ==/UserScript==
/* /*
* appchan x - Version 2.9.43 - 2014-12-14 * appchan x - Version 2.9.43 - 2014-12-15
* *
* Licensed under the MIT license. * Licensed under the MIT license.
* https://github.com/zixaphir/appchan-x/blob/master/LICENSE * https://github.com/zixaphir/appchan-x/blob/master/LICENSE
@ -12015,7 +12015,7 @@
return; return;
} }
html = ("[<span id=post-count>0</span> / <span id=file-count>0</span> " + (Conf['IP Count in Stats'] ? '/ <span id=ip-count>?</span>' : '') + " " + (Conf['Page Count in Stats'] ? '/ <span id=page-count>0</span>' : '') + "]").trim(); html = ("[<span id=post-count>0</span> / <span id=file-count>0</span> " + (Conf['IP Count in Stats'] ? '/ <span id=ip-count>?</span>' : '') + " " + (Conf['Page Count in Stats'] ? '/ <span id=page-count>0</span>' : '') + "]").trim();
title = "Post Count / File Count (if Conf['IP Count in Stats'] then ' / IPs' else '') + (if Conf['Page Count in Stats'] then ' / Page Count' else '')".trim(); title = ("Post Count / File Count " + (Conf['IP Count in Stats'] ? ' / IPs' : '') + " " + (Conf['Page Count in Stats'] ? ' / Page Count' : '')).trim();
if (Conf['Updater and Stats in Header']) { if (Conf['Updater and Stats in Header']) {
this.dialog = sc = $.el('span', { this.dialog = sc = $.el('span', {
innerHTML: html, innerHTML: html,

View File

@ -1,6 +1,6 @@
// Generated by CoffeeScript // Generated by CoffeeScript
/* /*
* appchan x - Version 2.9.43 - 2014-12-14 * appchan x - Version 2.9.43 - 2014-12-15
* *
* Licensed under the MIT license. * Licensed under the MIT license.
* https://github.com/zixaphir/appchan-x/blob/master/LICENSE * https://github.com/zixaphir/appchan-x/blob/master/LICENSE
@ -12004,7 +12004,7 @@
return; return;
} }
html = ("[<span id=post-count>0</span> / <span id=file-count>0</span> " + (Conf['IP Count in Stats'] ? '/ <span id=ip-count>?</span>' : '') + " " + (Conf['Page Count in Stats'] ? '/ <span id=page-count>0</span>' : '') + "]").trim(); html = ("[<span id=post-count>0</span> / <span id=file-count>0</span> " + (Conf['IP Count in Stats'] ? '/ <span id=ip-count>?</span>' : '') + " " + (Conf['Page Count in Stats'] ? '/ <span id=page-count>0</span>' : '') + "]").trim();
title = "Post Count / File Count (if Conf['IP Count in Stats'] then ' / IPs' else '') + (if Conf['Page Count in Stats'] then ' / Page Count' else '')".trim(); title = ("Post Count / File Count " + (Conf['IP Count in Stats'] ? ' / IPs' : '') + " " + (Conf['Page Count in Stats'] ? ' / Page Count' : '')).trim();
if (Conf['Updater and Stats in Header']) { if (Conf['Updater and Stats in Header']) {
this.dialog = sc = $.el('span', { this.dialog = sc = $.el('span', {
innerHTML: html, innerHTML: html,

View File

@ -11,8 +11,8 @@ ThreadStats =
title = " title = "
Post Count / File Count Post Count / File Count
(if Conf['IP Count in Stats'] then ' / IPs' else '') + #{if Conf['IP Count in Stats'] then ' / IPs' else ''}
(if Conf['Page Count in Stats'] then ' / Page Count' else '') #{if Conf['Page Count in Stats'] then ' / Page Count' else ''}
".trim() ".trim()
if Conf['Updater and Stats in Header'] if Conf['Updater and Stats in Header']