Fixed the menu bar check
This commit is contained in:
parent
951aad0d1f
commit
5702b7e120
1 changed files with 1 additions and 1 deletions
|
@ -510,7 +510,7 @@ namespace top_menu {
|
|||
item = menu.append_item(tr("Visit TeaSpeak forum"));
|
||||
item.click(() => window.open('https://forum.teaspeak.de/', '_blank'));
|
||||
|
||||
if(!app.is_web() && typeof(native_actions.show_dev_tools) && native_actions.show_dev_tools()) {
|
||||
if(!app.is_web() && typeof(native_actions.show_dev_tools) === "function" && native_actions.show_dev_tools()) {
|
||||
menu.append_hr();
|
||||
item = menu.append_item(tr("Open developer tools"));
|
||||
item.click(() => native_actions.open_dev_tools());
|
||||
|
|
Loading…
Add table
Reference in a new issue