Setting the HTML context menu provider as default to support older versions

This commit is contained in:
WolverinDEV 2019-06-30 17:34:22 +02:00
parent 7e41e032c3
commit 7bb7a8e994

View file

@ -215,6 +215,4 @@ class HTMLContextMenuProvider implements contextmenu.ContextMenuProvider {
}
}
//TODO: Improve
if(!window.require)
contextmenu.set_provider(new HTMLContextMenuProvider());
contextmenu.set_provider(new HTMLContextMenuProvider());