mirror of
https://github.com/flynx/PortableMag.git
synced 2025-10-29 19:20:09 +00:00
fixed a couple of bugs...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
0d4e7aaeae
commit
c677045d3f
@ -134,8 +134,7 @@ function createCSSClassToggler(elem, class_list, callback_a, callback_b){
|
||||
|
||||
// pre callback...
|
||||
if(callback_pre != null){
|
||||
var res = callback_pre(action)
|
||||
if(res === false){
|
||||
if(callback_pre(action) === false){
|
||||
return
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user