added night mode to expo
This commit is contained in:
@@ -1044,7 +1044,7 @@
|
||||
_randomPlayer = new RandomPlayer(e.playlist);
|
||||
|
||||
if (_is_expo) {
|
||||
_randomPlayer.start();
|
||||
initExpo();
|
||||
}
|
||||
|
||||
// mainly for articles link
|
||||
@@ -1951,6 +1951,18 @@
|
||||
// }
|
||||
};
|
||||
|
||||
// ___
|
||||
// | __|_ ___ __ ___
|
||||
// | _|\ \ / '_ \/ _ \
|
||||
// |___/_\_\ .__/\___/
|
||||
// |_|
|
||||
function initExpo(){
|
||||
console.log('initExpo', window.location.hash);
|
||||
if(window.location.hash == '#black'){
|
||||
$('body').addClass('expo-black');
|
||||
}
|
||||
_randomPlayer.start();
|
||||
}
|
||||
|
||||
// ___ _ _
|
||||
// / __|_ _(_)__| |
|
||||
|
||||
Reference in New Issue
Block a user