Permalink
Browse files

Popup: data-tolerance="0" did not work.

  • Loading branch information...
gabrielschulhof committed Dec 1, 2012
1 parent c924ed4 commit 0ca0380947e358e1402e5bac9822f06213e51c15
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/widgets/popup.js
View
@@ -306,7 +306,7 @@ define( [ "jquery",
_setTolerance: function( value ) {
var tol = { t: 30, r: 15, b: 30, l: 15 };
if ( value ) {
if ( value !== undefined ) {
var ar = String( value ).split( "," );
$.each( ar, function( idx, val ) { ar[ idx ] = parseInt( val, 10 ); } );

0 comments on commit 0ca0380

Please sign in to comment.