diff --git a/src/web/app/desktop/mixins.js b/src/web/app/desktop/mixins.js index 4a14b81763..9e93e5e6e5 100644 --- a/src/web/app/desktop/mixins.js +++ b/src/web/app/desktop/mixins.js @@ -4,7 +4,6 @@ module.exports = me => { if (me) require('./scripts/stream')(me); require('./scripts/user-preview'); - require('./scripts/open-window'); riot.mixin('notify', { notify: require('./scripts/notify') diff --git a/src/web/app/desktop/scripts/open-window.js b/src/web/app/desktop/scripts/open-window.js deleted file mode 100644 index 3f7cc424e0..0000000000 --- a/src/web/app/desktop/scripts/open-window.js +++ /dev/null @@ -1,8 +0,0 @@ -const riot = require('riot'); - -riot.mixin('open-window', { - openWindow: (name, opts) => { - const window = document.body.appendChild(document.createElement(name)); - return riot.mount(window, opts)[0]; - } -});