Skip to content

Commit

Permalink
Fix for issue vitch#43 - bug was introduced in b80165e which was a fi…
Browse files Browse the repository at this point in the history
…x of issue vitch#34. Need to test in IE and make sure issue vitch#34 hasn't regressed...
  • Loading branch information
vitch committed Jan 24, 2011
1 parent bddd77a commit d3452ed
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions script/jquery.jscrollpane.js
Expand Up @@ -57,7 +57,6 @@
// JScrollPane "class" - public methods are available through $('selector').data('jsp')
function JScrollPane(elem, s)
{

var settings, jsp = this, pane, paneWidth, paneHeight, container, contentWidth, contentHeight,
percentInViewH, percentInViewV, isScrollableV, isScrollableH, verticalDrag, dragMaxY,
verticalDragPosition, horizontalDrag, dragMaxX, horizontalDragPosition,
Expand Down Expand Up @@ -865,7 +864,7 @@

function initFocusHandler()
{
pane.unbind('focus.jsp').bind(
pane.find(':input,a').unbind('focus.jsp').bind(
'focus.jsp',
function(e)
{
Expand All @@ -878,7 +877,7 @@
function removeFocusHandler()
{

pane.unbind('focus.jsp');
pane.find(':input,a').unbind('focus.jsp');
}

function initKeyboardNav()
Expand Down
4 changes: 2 additions & 2 deletions script/jquery.jscrollpane.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d3452ed

Please sign in to comment.