Make openSidebar() work with no argument.

This commit is contained in:
Tom Hughes 2008-04-19 13:52:31 +00:00
parent cb3992f5a1
commit 66fcecab91

View file

@ -14,6 +14,8 @@
var onclose;
function openSidebar(options) {
options = options || {};
if (onclose) {
onclose();
onclose = null;