mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 10:20:08 +00:00
added toggleTheme(...), still need to write the CSS for the themes...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
5267e018ad
commit
3861f5ff89
@ -46,6 +46,9 @@ var MARKED = []
|
||||
|
||||
var IMAGE_CACHE = []
|
||||
|
||||
var SETTINGS = {
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**********************************************************************
|
||||
|
||||
@ -300,6 +300,8 @@ DEBUG = true
|
||||
// setup...
|
||||
$(function(){
|
||||
|
||||
toggleTheme('light')
|
||||
|
||||
//setElementOrigin($('.ribbon-set'), 'top', 'left')
|
||||
|
||||
if('DATA' in localStorage){
|
||||
|
||||
@ -24,6 +24,13 @@ var toggleSingleImageMode = createCSSClassToggler('.viewer',
|
||||
})
|
||||
|
||||
|
||||
var toggleTheme = createCSSClassToggler('.viewer',
|
||||
[
|
||||
'dark',
|
||||
'gray',
|
||||
'light'
|
||||
])
|
||||
|
||||
|
||||
|
||||
/**********************************************************************
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user