mirror of
https://github.com/ether/etherpad-lite.git
synced 2026-05-05 12:16:45 +02:00
Fix padeditbar.toggleDropDown
Only call callback, if one was passed.
This commit is contained in:
parent
9e9cbd5ffa
commit
6bda1f8e4d
@ -209,7 +209,7 @@ var padeditbar = (function()
|
||||
returned = true;
|
||||
}
|
||||
}
|
||||
if(!returned) return cb();
|
||||
if(!returned && cb) return cb();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user