diff --git a/assets/javascripts/discourse/components/query-result.js.es6 b/assets/javascripts/discourse/components/query-result.js.es6 index 760b5a2..e4e02c9 100644 --- a/assets/javascripts/discourse/components/query-result.js.es6 +++ b/assets/javascripts/discourse/components/query-result.js.es6 @@ -106,7 +106,7 @@ const QueryResultComponent = Ember.Component.extend({ let windowName = randomIdShort(); const newWindowContents = "Click anywhere to close this window once the download finishes."; - let newWindow = window.open('data:text/html;base64,' + btoa(newWindowContents), windowName); + const _ = window.open('data:text/html;base64,' + btoa(newWindowContents), windowName); let form = document.createElement("form"); form.setAttribute('id', 'query-download-result');