fastscroll: modify from not selector to function
authorMinkyu Kang <mk7.kang@samsung.com>
Wed, 16 Jan 2013 10:53:01 +0000 (19:53 +0900)
committerYoumin Ha <youmin.ha@samsung.com>
Thu, 17 Jan 2013 08:50:21 +0000 (17:50 +0900)
Since the not selector is not supported in jqeury 1.8.2,
use the not function instead of selector.

Change-Id: Ie82e18513c4c71454b5bfbedf6b581f649d7a847

src/widgets/fastscroll/js/jquery.mobile.tizen.fastscroll.js

index 6fc1fab..f952307 100755 (executable)
                        dividers = this.element.find( '.ui-li-divider' );
 
                        // get all the list items
-                       listItems = this.element.find( 'li:not(.ui-li-divider)) ');
+                       listItems = this.element.find('li').not('.ui-li-divider');
 
                        // only use visible dividers
                        dividers = dividers.filter( ':visible' );