Browse Source

refactor: remove jquery object

Co-authored-by: Sagar Vora <sagar@resilient.tech>
version-14
Summayya Hashmani 3 years ago
committed by GitHub
parent
commit
0d4cb2f6d6
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      frappe/public/js/frappe/form/grid_row.js

+ 1
- 1
frappe/public/js/frappe/form/grid_row.js View File

@@ -616,7 +616,7 @@ export default class GridRow {
if (!this.doc) {
$col.attr("title", txt);
}
df.fieldname && $($col.static_area.toggleClass('reqd', Boolean(df.reqd)));
df.fieldname && $col.static_area.toggleClass('reqd', Boolean(df.reqd));

$col.df = df;
$col.column_index = ci;


Loading…
Cancel
Save