Skip to content

Commit b9a87e8

Browse files
committed
lint fixes
1 parent 8db4c44 commit b9a87e8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/gridstack.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2084,7 +2084,7 @@ export class GridStack {
20842084
// restore any temp removed (dragged over trash)
20852085
GridStack._itemRemoving(n.el, false);
20862086
}
2087-
2087+
20882088
this.engine.restoreInitial();
20892089
}
20902090

@@ -2214,7 +2214,7 @@ export class GridStack {
22142214

22152215
// sidebar items: load any element attributes if we don't have a node
22162216
if (!node) {
2217-
const attr = helper.getAttribute('data-gs-widget') || helper.getAttribute('gridstacknode'); // TBD: temp support for old V11.0.0 attribute
2217+
const attr = helper.getAttribute('data-gs-widget') || helper.getAttribute('gridstacknode'); // TBD: temp support for old V11.0.0 attribute
22182218
if (attr) {
22192219
try {
22202220
node = JSON.parse(attr);

src/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ export class Utils {
228228

229229
/** inserts a CSS rule */
230230
static addCSSRule(sheet: HTMLStyleElement, selector: string, rules: string): void {
231-
// Rather than using sheet.insertRule, use text since it supports
231+
// Rather than using sheet.insertRule, use text since it supports
232232
// gridstack node reparenting around in the DOM
233233
sheet.textContent += `${selector} { ${rules} } `;
234234
}

0 commit comments

Comments
 (0)