Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Commit

Permalink
Popup: data-tolerance="0" did not work.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel Schulhof committed Dec 1, 2012
1 parent c924ed4 commit 0ca0380
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/widgets/popup.js
Expand Up @@ -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 ); } );
Expand Down

0 comments on commit 0ca0380

Please sign in to comment.