Skip to content

Commit

Permalink
Added code to respect position toggle state
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Mathias committed Mar 1, 2012
1 parent 72d2a7c commit 6b677af
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions jquery.maxlength.js
Expand Up @@ -317,6 +317,11 @@
return false;
}

if (!$.maxLengthDisplay.allowPositionToggle === true) {
// We have disallowed toggling locations for these elements.
return;
}

switch (parentPin[0]) {
case "top":
switch (targetPin[0]) {
Expand Down

0 comments on commit 6b677af

Please sign in to comment.