File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff 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 ) ;
Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments