Skip to content

Commit 1264a98

Browse files
author
Kai Schlamp
committed
Provide the data and bindings also for the clone, so that users can access them in the nextItem method.
1 parent 0179532 commit 1264a98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/jquery.ui.ticker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ $.widget( "ui.ticker", {
138138
newItem,
139139
lastItem;
140140

141-
lastItem = self.element.children().last().clone();
141+
lastItem = self.element.children().last().clone(true);
142142
lastItem.removeClass(itemClasses + " ui-state-hover ui-state-focus");
143143

144144
if (self.options.next !== null) {

0 commit comments

Comments
 (0)