mirror of
https://github.com/symbiote/silverstripe-gridfieldextensions.git
synced 2024-10-22 17:05:39 +02:00
FIX: Added parentheses for the if block
This commit is contained in:
parent
29769cc5cc
commit
2b9512db18
@ -91,8 +91,9 @@
|
||||
});
|
||||
},
|
||||
onaddnewinline: function(e) {
|
||||
if(e.target != this[0])
|
||||
return;
|
||||
if(e.target != this[0]) {
|
||||
return;
|
||||
}
|
||||
|
||||
var tmpl = window.tmpl;
|
||||
var row = this.find(".ss-gridfield-add-inline-template");
|
||||
|
Loading…
Reference in New Issue
Block a user