mirror of
https://github.com/Yetangitu/ampache
synced 2025-10-03 17:59:21 +02:00
Add unobserve equivalent in jQuery
This commit is contained in:
parent
8573544594
commit
14caca09c7
4 changed files with 9 additions and 3 deletions
|
@ -64,7 +64,7 @@ var SearchRow = {
|
|||
$('searchtable').appendChild(row);
|
||||
rowCount++;
|
||||
|
||||
$(cells[3]).click(function(e){if(rowCount > 1) { Element.remove(this.parentNode); rowCount--; }});
|
||||
$(cells[3]).on('click', function(){if(rowCount > 1) { Element.remove(this.parentNode); rowCount--; }});
|
||||
|
||||
rowIter++;
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue