mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-11-02 12:20:08 +00:00
minor boo-boo fixed...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
46df972ac1
commit
e627431789
@ -97,7 +97,7 @@ function createCSSClassToggler(elem, css_class, callback_a, callback_b){
|
||||
callback_pre(action)
|
||||
}
|
||||
// play with the class...
|
||||
if(state == 'on'){
|
||||
if(action == 'on'){
|
||||
$(elem).addClass(css_class)
|
||||
} else {
|
||||
$(elem).removeClass(css_class)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user