diff --git a/app/assets/javascripts/discourse/components/popup-input-tip.js.es6 b/app/assets/javascripts/discourse/components/popup-input-tip.js.es6 index ce2dc31c5..c63997674 100644 --- a/app/assets/javascripts/discourse/components/popup-input-tip.js.es6 +++ b/app/assets/javascripts/discourse/components/popup-input-tip.js.es6 @@ -10,7 +10,8 @@ export default Ember.Component.extend(StringBuffer, { rerenderTriggers: ['validation.reason'], click() { - this.set('shownAt', false); + this.set('shownAt', null); + this.set('validation.lastShownAt', null); }, bad: Ember.computed.alias("validation.failed"), @@ -40,8 +41,7 @@ export default Ember.Component.extend(StringBuffer, { const reason = this.get('validation.reason'); if (!reason) { return; } - buffer.push("" + iconHTML('times-circle') + ""); - buffer.push(reason); + buffer.push(`${iconHTML('times-circle')}${reason}`); }, bounceLeft($elem) {