mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
Use regex with word boundaries to replace 'active'
This commit is contained in:
parent
fa8b9c143a
commit
12ee49ccbd
@ -164,7 +164,7 @@
|
||||
*/
|
||||
_unselect: function() {
|
||||
var tr = this.get(0);
|
||||
tr.className = $.trim(tr.className.replace('active', ''));
|
||||
tr.className = $.trim(tr.className.replace(/\bactive\b/, ''));
|
||||
this.find(":input[type=checkbox][checked]").attr("checked", false);
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user