Operator Change

This commit is contained in:
Dustin Moore 2013-05-29 14:20:48 -07:00
parent df913ecd12
commit daeb0f172b

View file

@ -577,6 +577,7 @@ $.Viewport.prototype = {
*/
resize: function( newContainerSize, maintain ) {
//Set current size to 1 if 0 (hidden div)
var currentsize = this.containerSize.x === 0 ? 1 : this.containerSize.x;
var oldBounds = this.getBounds(),
newBounds = oldBounds,