mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-02-08 03:02:03 +01:00
Fix padeditbar.toggleDropDown
Only call callback, if one was passed.
This commit is contained in:
parent
9e9cbd5ffa
commit
6bda1f8e4d
1 changed files with 1 additions and 1 deletions
|
@ -209,7 +209,7 @@ var padeditbar = (function()
|
||||||
returned = true;
|
returned = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(!returned) return cb();
|
if(!returned && cb) return cb();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue