mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-14 01:03:08 -07:00
- Ported WebUI to MochaUI 0.9.5
This commit is contained in:
parent
a73d3132df
commit
816f35cbab
8 changed files with 5595 additions and 1936 deletions
|
@ -23,6 +23,12 @@
|
|||
*/
|
||||
|
||||
window.addEvent('domready', function(){
|
||||
MochaUI.Desktop = new MochaUI.Desktop();
|
||||
MochaUI.Desktop.desktop.setStyles({
|
||||
'background': '#fff',
|
||||
'visibility': 'visible'
|
||||
});
|
||||
initializeWindows();
|
||||
// Tabs
|
||||
myTabs1 = new mootabs('myTabs', {
|
||||
width: '100%',
|
||||
|
@ -146,6 +152,12 @@ window.addEvent('domready', function(){
|
|||
// ajaxfn.periodical(5000);
|
||||
});
|
||||
|
||||
// This runs when a person leaves your page.
|
||||
|
||||
window.addEvent('unload', function(){
|
||||
if (MochaUI) MochaUI.garbageCleanUp();
|
||||
});
|
||||
|
||||
window.addEvent('keydown', function(event){
|
||||
if (event.key == 'a' && event.control) {
|
||||
event.stop();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue