Make openSidebar() work with no argument.
This commit is contained in:
parent
cb3992f5a1
commit
66fcecab91
1 changed files with 2 additions and 0 deletions
|
@ -14,6 +14,8 @@
|
|||
var onclose;
|
||||
|
||||
function openSidebar(options) {
|
||||
options = options || {};
|
||||
|
||||
if (onclose) {
|
||||
onclose();
|
||||
onclose = null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue