fix now playing background
This commit is contained in:
@@ -2108,6 +2108,11 @@ var AppInfo = {};
|
||||
return {};
|
||||
});
|
||||
|
||||
define("jqmlistview", ["thirdparty/jquerymobile-1.4.5/jqm.listview"], function () {
|
||||
Dashboard.importCss('thirdparty/jquerymobile-1.4.5/jqm.listview.css');
|
||||
return {};
|
||||
});
|
||||
|
||||
define("hammer", ["bower_components/hammerjs/hammer.min"], function (Hammer) {
|
||||
return Hammer;
|
||||
});
|
||||
@@ -2188,6 +2193,7 @@ var AppInfo = {};
|
||||
if (newHtml.indexOf('type-interior') != -1) {
|
||||
depends.push('jqmicons');
|
||||
depends.push('jqmpopup');
|
||||
depends.push('jqmlistview');
|
||||
}
|
||||
|
||||
require(depends, function () {
|
||||
@@ -2280,6 +2286,16 @@ $(document).on('pagecreate', ".page", function () {
|
||||
current = newTheme;
|
||||
}
|
||||
|
||||
var docElem = document.documentElement;
|
||||
|
||||
if (current == 'a') {
|
||||
docElem.classList.add('background-theme-a');
|
||||
docElem.classList.remove('background-theme-b');
|
||||
} else {
|
||||
docElem.classList.add('background-theme-b');
|
||||
docElem.classList.remove('background-theme-a');
|
||||
}
|
||||
|
||||
if (current != 'a' && !$.browser.mobile) {
|
||||
document.body.classList.add('darkScrollbars');
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user