You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My website is responsible website, so if the screen became wider, i should call 'exit' method as described on Slidebars document.
After I called 'exit' method slidebars throws strange error. slidebars.js:173 Uncaught Slidebars hasn't been initialized.
I investigated code, and I found the 'css' method is bound to window resize event.
I think 'exit' method should unbind 'css' method.
And also when binding 'css' method to window rezise event, namespace should be uses with it.
I tried to unbind 'css' method with manual way, it is really hard to unbind specific method without namespace via jQuery.
The text was updated successfully, but these errors were encountered:
@wonsuc @hartey11
Keep in mind that if you trigger exit without having initialized Slidebars it will throw this error.
Might be a good idea to check isActive() first.
My website is responsible website, so if the screen became wider, i should call 'exit' method as described on Slidebars document.
After I called 'exit' method slidebars throws strange error.
slidebars.js:173 Uncaught Slidebars hasn't been initialized.
I investigated code, and I found the 'css' method is bound to window resize event.
I think 'exit' method should unbind 'css' method.
And also when binding 'css' method to window rezise event, namespace should be uses with it.
I tried to unbind 'css' method with manual way, it is really hard to unbind specific method without namespace via jQuery.
The text was updated successfully, but these errors were encountered: