mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 18:49:21 -07:00
Use single quotes and LFs, add semicolons
This commit is contained in:
parent
c57e10156e
commit
3cdc664122
5 changed files with 36 additions and 36 deletions
|
@ -12,7 +12,7 @@
|
|||
|
||||
$(document).ready(function(){
|
||||
$('.add-ns-button').click(function(){
|
||||
var n = $("input[name^=v_ns]").length;
|
||||
var n = $('input[name^=v_ns]').length;
|
||||
if(n < 8){
|
||||
var t = $($('input[name=v_ns1]').parents('tr')[0]).clone(true, true);
|
||||
t.find('input').attr({value:'', name:'v_ns'+(n+1)});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue