From 2b5369d7f1436cfca4e4351670e4cbb85eb0d0ad Mon Sep 17 00:00:00 2001 From: "hjnim.kim" Date: Wed, 10 Apr 2013 16:04:36 +0900 Subject: [PATCH] Gallery: remove method bug has been fixed Remove method bug has been fixed in gallery widget It has been added 'px' Change-Id: I8d80d41483085bd40251b74ca7b909a3d7907e2c --- src/js/widgets/jquery.mobile.tizen.gallery.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/js/widgets/jquery.mobile.tizen.gallery.js b/src/js/widgets/jquery.mobile.tizen.gallery.js index cba659a..08674e4 100644 --- a/src/js/widgets/jquery.mobile.tizen.gallery.js +++ b/src/js/widgets/jquery.mobile.tizen.gallery.js @@ -666,7 +666,7 @@ define( [ ], function ( ) { this.cur_img = this.prev_img; this.prev_img = this.prev_img.prev(); if ( this.prev_img.length ) { - this._moveLeft( this.prev_img, -this.window_width); + this._moveLeft( this.prev_img, -this.window_width + 'px' ); this._attach( index - 2, this.prev_img ); } this.index--; @@ -674,7 +674,7 @@ define( [ ], function ( ) { this.cur_img = this.next_img; this.next_img = this.next_img.next(); if ( this.next_img.length ) { - this._moveLeft( this.next_img, this.window_width); + this._moveLeft( this.next_img, this.window_width + 'px' ); this._attach( index + 2, this.next_img ); } } @@ -684,7 +684,7 @@ define( [ ], function ( ) { temp_img = this.prev_img; this.prev_img = this.prev_img.prev(); if ( this.prev_img.length ) { - this._moveLeft( this.prev_img, -this.window_width); + this._moveLeft( this.prev_img, -this.window_width + 'px' ); this._attach( index - 1, this.prev_img ); } this.index--; @@ -693,7 +693,7 @@ define( [ ], function ( ) { temp_img = this.next_img; this.next_img = this.next_img.next(); if ( this.next_img.length ) { - this._moveLeft( this.next_img, this.window_width); + this._moveLeft( this.next_img, this.window_width + 'px' ); this._attach( index + 1, this.next_img ); } -- 2.7.4