From 37fde172774557034fa2d636b0963be62aa06aff Mon Sep 17 00:00:00 2001 From: Jordan Bates Date: Sat, 21 Sep 2013 10:12:25 -0700 Subject: [PATCH] Build and changelog --- CHANGELOG.md | 3 +++ LICENSE | 2 +- builds/4chan-X.user.js | 8 ++++---- builds/crx/script.js | 8 ++++---- 4 files changed, 12 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9e2d8a948..a5d4bfbb4 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +**seaweedchan**: +- Delete cooldown update + ### v1.2.39 *2013-09-19* diff --git a/LICENSE b/LICENSE index 33978ccdc..053849be2 100755 --- a/LICENSE +++ b/LICENSE @@ -1,5 +1,5 @@ /* -* 4chan X - Version 1.2.39 - 2013-09-19 +* 4chan X - Version 1.2.39 - 2013-09-21 * * Licensed under the MIT license. * https://github.com/seaweedchan/4chan-x/blob/master/LICENSE diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js index 648f10c60..8e5377bb4 100644 --- a/builds/4chan-X.user.js +++ b/builds/4chan-X.user.js @@ -22,7 +22,7 @@ // ==/UserScript== /* -* 4chan X - Version 1.2.39 - 2013-09-19 +* 4chan X - Version 1.2.39 - 2013-09-21 * * Licensed under the MIT license. * https://github.com/seaweedchan/4chan-x/blob/master/LICENSE @@ -1970,7 +1970,7 @@ emailStart = ''; emailEnd = ''; } - subject = "" + (subject || '') + ""; + subject = "" + (subject ? ' ' + subject : '') + ""; userID = !capcode && uniqueID ? (" (ID: ") + ("" + uniqueID + ") ") : ''; switch (capcode) { case 'admin': @@ -2037,7 +2037,7 @@ container = $.el('div', { id: "pc" + postID, className: "postContainer " + (isOP ? 'op' : 'reply') + "Container", - innerHTML: "" + (isOP ? '' : "
>>
") + "
" + (isOP ? fileHTML : '') + "" + (isOP ? '' : fileHTML) + "
" + (comment || '') + "
" + " " + "
" + innerHTML: "" + (isOP ? '' : "
>>
") + "
" + (isOP ? fileHTML : '') + "" + (isOP ? '' : fileHTML) + "
" + (comment || '') + "
" + " " + "
" }); _ref = $$('.quotelink', container); for (_i = 0, _len = _ref.length; _i < _len; _i++) { @@ -7493,7 +7493,7 @@ return; } DeleteLink.cooldown.counting = post; - length = 30; + length = 60; seconds = Math.ceil((length * $.SECOND - (Date.now() - post.info.date)) / $.SECOND); return DeleteLink.cooldown.count(post, seconds, length, node); }, diff --git a/builds/crx/script.js b/builds/crx/script.js index d6ed5b583..4eee102bc 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -1,6 +1,6 @@ // Generated by CoffeeScript /* -* 4chan X - Version 1.2.39 - 2013-09-19 +* 4chan X - Version 1.2.39 - 2013-09-21 * * Licensed under the MIT license. * https://github.com/seaweedchan/4chan-x/blob/master/LICENSE @@ -1984,7 +1984,7 @@ emailStart = ''; emailEnd = ''; } - subject = "" + (subject || '') + ""; + subject = "" + (subject ? ' ' + subject : '') + ""; userID = !capcode && uniqueID ? (" (ID: ") + ("" + uniqueID + ") ") : ''; switch (capcode) { case 'admin': @@ -2051,7 +2051,7 @@ container = $.el('div', { id: "pc" + postID, className: "postContainer " + (isOP ? 'op' : 'reply') + "Container", - innerHTML: "" + (isOP ? '' : "
>>
") + "
" + (isOP ? fileHTML : '') + "" + (isOP ? '' : fileHTML) + "
" + (comment || '') + "
" + " " + "
" + innerHTML: "" + (isOP ? '' : "
>>
") + "
" + (isOP ? fileHTML : '') + "" + (isOP ? '' : fileHTML) + "
" + (comment || '') + "
" + " " + "
" }); _ref = $$('.quotelink', container); for (_i = 0, _len = _ref.length; _i < _len; _i++) { @@ -7478,7 +7478,7 @@ return; } DeleteLink.cooldown.counting = post; - length = 30; + length = 60; seconds = Math.ceil((length * $.SECOND - (Date.now() - post.info.date)) / $.SECOND); return DeleteLink.cooldown.count(post, seconds, length, node); },