From 9cc40359b320b411d414d26df932fccd8d955f21 Mon Sep 17 00:00:00 2001 From: Zixaphir Date: Mon, 15 Dec 2014 08:50:21 -0700 Subject: [PATCH] Fix threadstats title --- LICENSE | 2 +- builds/appchan-x.user.js | 4 ++-- builds/crx/script.js | 4 ++-- src/Monitoring/ThreadStats.coffee | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/LICENSE b/LICENSE index bcb81aea8..9027bf329 100644 --- a/LICENSE +++ b/LICENSE @@ -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. * https://github.com/zixaphir/appchan-x/blob/master/LICENSE diff --git a/builds/appchan-x.user.js b/builds/appchan-x.user.js index eb2b00cff..0e6711d66 100644 --- a/builds/appchan-x.user.js +++ b/builds/appchan-x.user.js @@ -28,7 +28,7 @@ // ==/UserScript== /* -* appchan x - Version 2.9.43 - 2014-12-14 +* appchan x - Version 2.9.43 - 2014-12-15 * * Licensed under the MIT license. * https://github.com/zixaphir/appchan-x/blob/master/LICENSE @@ -12015,7 +12015,7 @@ return; } html = ("[0 / 0 " + (Conf['IP Count in Stats'] ? '/ ?' : '') + " " + (Conf['Page Count in Stats'] ? '/ 0' : '') + "]").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']) { this.dialog = sc = $.el('span', { innerHTML: html, diff --git a/builds/crx/script.js b/builds/crx/script.js index 31f0e5f6c..a56929715 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -1,6 +1,6 @@ // 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. * https://github.com/zixaphir/appchan-x/blob/master/LICENSE @@ -12004,7 +12004,7 @@ return; } html = ("[0 / 0 " + (Conf['IP Count in Stats'] ? '/ ?' : '') + " " + (Conf['Page Count in Stats'] ? '/ 0' : '') + "]").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']) { this.dialog = sc = $.el('span', { innerHTML: html, diff --git a/src/Monitoring/ThreadStats.coffee b/src/Monitoring/ThreadStats.coffee index 2286017d8..0ec6a8c29 100755 --- a/src/Monitoring/ThreadStats.coffee +++ b/src/Monitoring/ThreadStats.coffee @@ -11,8 +11,8 @@ ThreadStats = title = " Post Count / File Count - (if Conf['IP Count in Stats'] then ' / IPs' else '') + - (if Conf['Page Count in Stats'] then ' / Page Count' else '') + #{if Conf['IP Count in Stats'] then ' / IPs' else ''} + #{if Conf['Page Count in Stats'] then ' / Page Count' else ''} ".trim() if Conf['Updater and Stats in Header']