4xmen / x-tree-select

Tree Select jQuery plugin
http://4xmen.ir
GNU General Public License v3.0
99 stars 23 forks source link

fixed issue with navigation history #9

Closed markgarel17 closed 4 years ago

markgarel17 commented 4 years ago

Issue caused by repeatedly clicking the "li" element while in transition.

If you keep clicking while it's doing transition, it will keep doing this code $.navigatex.push(tmp); which messes up the navigation history data or when you roll back the navigation to the last element by traversing the tree to the top.

You will see this issue when you display the variable ancestors in onSelect function

A1Gard commented 4 years ago

Hi dude thanks for your pull request man

A1Gard commented 4 years ago

Merged :+1: