add qmcToggleNightMode to actions dropdown
This commit is contained in:
parent
1c8593c1fa
commit
fca78f7417
|
@ -238,6 +238,7 @@
|
|||
<div dojoType="dijit.MenuItem" onclick="App.onActionSelected('qmcShowOnlyUnread')"><?php echo __('(Un)hide read feeds') ?></div>
|
||||
<div dojoType="dijit.MenuItem" disabled="1"><?php echo __('Other actions:') ?></div>
|
||||
<div dojoType="dijit.MenuItem" onclick="App.onActionSelected('qmcToggleWidescreen')"><?php echo __('Toggle widescreen mode') ?></div>
|
||||
<div dojoType="dijit.MenuItem" onclick="App.onActionSelected('qmcToggleNightMode')"><?php echo __('Toggle night mode') ?></div>
|
||||
<div dojoType="dijit.MenuItem" onclick="App.onActionSelected('qmcHKhelp')"><?php echo __('Keyboard shortcuts help') ?></div>
|
||||
|
||||
<?php
|
||||
|
|
|
@ -534,6 +534,9 @@ require(["dojo/_base/kernel",
|
|||
alert(__("Widescreen is not available in combined mode."));
|
||||
}
|
||||
break;
|
||||
case "qmcToggleNightMode":
|
||||
App.toggleNightMode();
|
||||
break;
|
||||
case "qmcHKhelp":
|
||||
App.helpDialog("main");
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue