1
0
Fork 0
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:
Afterster 2013-11-21 00:35:17 +01:00
parent 8573544594
commit 14caca09c7
4 changed files with 9 additions and 3 deletions

View file

@ -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++;
},