jcubic / jquery.splitter

Plugin that split your content with draggable divider

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

split().destroy bug with more than one splitter in place

DaWiTH opened this issue · comments

First: I love your work. Unfortunately I found a bug (or I'm stupid :/ ).

Setting: I want to have a screen split by two splitters and I want to turn one splitter on and off by user request. So my plan was to use the $("xyz").split().destroy method and re-init the split on request.
However, after the "destroy" method is called, the split does not work anymore if re-done. And unfortunately I do not know why or how to fix that problem.

Attached there is a minimal working example where the latest jquery and jquery.splitter is included

splitter.zip

edit: problem on
Firefox 43.0
Chromium 47.0.2526.73
Chrome 47.0.2526.106 (for completes ;) )

Fixed in version 0.19.0.

fix confirmed for
Firefox 43.0
Chromium 47.0.2526.73
Chrome 47.0.2526.106

thanks you very much for the fast help and thanks for this project.