We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d1bfca commit b20c873Copy full SHA for b20c873
src/netlify-identity.js
@@ -9,7 +9,7 @@ import modalCSS from "./components/modal.css";
9
10
const callbacks = {};
11
function trigger(callback) {
12
- const cbMap = callbacks[callback] || new Map();
+ const cbMap = callbacks[callback] || new Set();
13
Array.from(cbMap.values()).forEach(cb => {
14
cb.apply(cb, Array.prototype.slice.call(arguments, 1));
15
});
0 commit comments