Skip to content

Commit

Permalink
Add global var StackExchange
Browse files Browse the repository at this point in the history
  • Loading branch information
CalvT committed Dec 11, 2018
1 parent c822f95 commit fa2e9a7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sim/sim.user.js
Expand Up @@ -21,6 +21,8 @@
// @downloadURL https://github.com/Charcoal-SE/userscripts/raw/master/sim/sim.user.js
// ==/UserScript==

/* globals StackExchange */

(() => {
const msAPIKey = '5a70b21ec1dd577d6ce36d129df3b0262b7cec2cd82478bbd8abdc532d709216';

Expand Down Expand Up @@ -100,7 +102,7 @@
}
}

StackExchange.helpers.showModal(modal); // eslint-disable-line no-undef
StackExchange.helpers.showModal(modal);
};

const getInfo = async ev => {
Expand Down

0 comments on commit fa2e9a7

Please sign in to comment.