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

Demos: highlight is now correctly removed on cancelation. Fixed #6892 - ... #6893

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion demos/swipe-list/index.php
Expand Up @@ -75,7 +75,7 @@ function confirmAndDelete( listitem, transition ) {
}); });
// Remove active state and unbind when the cancel button is clicked // Remove active state and unbind when the cancel button is clicked
$( "#confirm #cancel" ).on( "click", function() { $( "#confirm #cancel" ).on( "click", function() {
listitem.removeClass( "ui-btn-active" ); listitem.children( ".ui-btn" ).removeClass( "ui-btn-active" );
$( "#confirm #yes" ).off(); $( "#confirm #yes" ).off();
}); });
} }
Expand Down