From 90ac635c6a08a76b6760c64c15794eb67aa4e2c3 Mon Sep 17 00:00:00 2001 From: creesch Date: Fri, 16 Jun 2017 20:36:56 +0200 Subject: [PATCH] 3.6.5 --- extension/Info.plist | 4 ++-- extension/data/tbutils.js | 16 ++++++++-------- extension/manifest.json | 2 +- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/extension/Info.plist b/extension/Info.plist index 8482836..eeb1229 100644 --- a/extension/Info.plist +++ b/extension/Info.plist @@ -13,9 +13,9 @@ CFBundleInfoDictionaryVersion 6.0 CFBundleShortVersionString - 3.6.4 + 3.6.5 CFBundleVersion - 370 + 365 Chrome Global Page diff --git a/extension/data/tbutils.js b/extension/data/tbutils.js index f77e293..5490469 100644 --- a/extension/data/tbutils.js +++ b/extension/data/tbutils.js @@ -120,8 +120,8 @@ function initwrapper() { // Public variables - TBUtils.toolboxVersion = '3.6.4' + ((betaRelease) ? ' (beta)' : ''); - TBUtils.shortVersion = 364; //don't forget to change this one! This is used for the 'new version' notification. + TBUtils.toolboxVersion = '3.6.5' + ((betaRelease) ? ' (beta)' : ''); + TBUtils.shortVersion = 365; //don't forget to change this one! This is used for the 'new version' notification. TBUtils.releaseName = 'Communicating Cat'; TBUtils.configSchema = 1; TBUtils.notesSchema = 6; @@ -356,7 +356,7 @@ function initwrapper() { debugObject.browserVersion = browserMatchedInfo[2]; debugObject.platformInformation = browserMatchedInfo[1]; - } else if (chromeRegex.test(browserUserAgent)){ + } else if (chromeRegex.test(browserUserAgent)){ browserMatchedInfo = browserUserAgent.match(chromeRegex); debugObject.browser = 'Chrome'; debugObject.browserVersion = browserMatchedInfo[2]; @@ -993,8 +993,8 @@ function initwrapper() { return callback(true); } else { return callback(false); - } - + } + }); }; @@ -1054,9 +1054,9 @@ function initwrapper() { subreddit = $body.find('.ThreadTitle__community').text(); permalink = ($threadBase.find('.m-link').length ? 'https://mod.reddit.com' + $threadBase.find('.m-link').attr('href') : 'https://mod.reddit.com/mail/perma/' + browserUrl.match(idRegex)[1]); id = browserUrl.match(idRegex)[1]; - + // Funny story, there is currently no functionality in new modmail that can make use of the body. - // Macros look at the sidebar and other modules don't need the body. + // Macros look at the sidebar and other modules don't need the body. // Todo: Figure out what body to present when activated from modmacro. var $textBody = $threadBase.find('.Message__body .md').clone(); console.log($textBody); @@ -2502,4 +2502,4 @@ function initwrapper() { var event = new CustomEvent("TBUtilsLoaded"); window.dispatchEvent(event); }); -})(); \ No newline at end of file +})(); diff --git a/extension/manifest.json b/extension/manifest.json index 9573d30..0486fbe 100644 --- a/extension/manifest.json +++ b/extension/manifest.json @@ -4,7 +4,7 @@ "author": "toolbox team", "short_name": "toolbox", "description": "A set of tools to be used by moderators on reddit in order to make their jobs easier.", - "version": "3.6.4", + "version": "3.6.5", "options_page": "data/background/options.html", "applications": { "gecko": {