Fix padeditbar.toggleDropDown

Only call callback, if one was passed.
This commit is contained in:
Marcel Klehr 2012-07-13 09:13:22 +02:00
parent 9e9cbd5ffa
commit 6bda1f8e4d
1 changed files with 1 additions and 1 deletions

View File

@ -209,7 +209,7 @@ var padeditbar = (function()
returned = true;
}
}
if(!returned) return cb();
if(!returned && cb) return cb();
}
else
{