diff --git a/4chan_x.js b/4chan_x.js index 322e859a7..691b443e9 100644 --- a/4chan_x.js +++ b/4chan_x.js @@ -2,7 +2,7 @@ // @name 4chan x // @namespace aeosynth // @description Adds various features. -// @version 1.27.8 +// @version 1.27.8-1 // @copyright 2009-2011 James Campos // @license MIT; http://en.wikipedia.org/wiki/Mit_license // @include http://boards.4chan.org/* @@ -973,7 +973,7 @@ }, messageIframe: function(e) { var message, _ref; - message = (_ref = $('table font b')) != null ? _ref.firstChild.textContent : void 0; + message = ((_ref = $('table font b')) != null ? _ref.firstChild.textContent : void 0) || ''; e.source.postMessage(message, '*'); return window.location = 'about:blank'; }, diff --git a/header b/header index ff6961158..c12af71d4 100644 --- a/header +++ b/header @@ -2,7 +2,7 @@ // @name 4chan x // @namespace aeosynth // @description Adds various features. -// @version 1.27.8 +// @version 1.27.8-1 // @copyright 2009-2011 James Campos // @license MIT; http://en.wikipedia.org/wiki/Mit_license // @include http://boards.4chan.org/* diff --git a/script.coffee b/script.coffee index f464315bd..c7c285cca 100644 --- a/script.coffee +++ b/script.coffee @@ -716,7 +716,7 @@ qr = $.remove dialog messageIframe: (e) -> - message = $('table font b')?.firstChild.textContent + message = $('table font b')?.firstChild.textContent or '' e.source.postMessage message, '*' window.location = 'about:blank'