diff --git a/src/window.js b/src/window.js index 6dea50f833..75af0550dc 100644 --- a/src/window.js +++ b/src/window.js @@ -17,9 +17,9 @@ 'aria-label': Sao.i18n.gettext('Close') }).append(jQuery('', { 'aria-hidden': true - }).append('×').click(function() { + }).append('×')).click(function() { this.el.hide(); - }.bind(this)))).append(this.text); + }.bind(this))).append(this.text); this.el.hide(); }, message: function(message, type) {