Skip to content

Commit

Permalink
Minor oopsie fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hilton Janfield committed Sep 13, 2015
1 parent f215441 commit 232a6af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/jquery.enhsplitter.js
Original file line number Diff line number Diff line change
Expand Up @@ -224,10 +224,10 @@
.on('click.splitter', '.splitter_handle', function (e) {
// Prevent clicks if the user started dragging too much.
// Some (all?) browsers fire the click event even after the bar has been dragged hundreds of pixels.
currentSplitter = $(this).closest('.splitter_container').data('splitter');
if (currentSplitter.disableClick) {
return currentSplitter.disableClick = false;
}
currentSplitter = $(this).closest('.splitter_container').data('splitter');

if (currentSplitter.settings.collapsable) {
if (currentSplitter.data('savedPosition')) {
Expand Down

0 comments on commit 232a6af

Please sign in to comment.