File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -197,7 +197,7 @@ function App() {
197197
198198 // Override the anchor properties to force the download.
199199 anchor . href = canvas . toDataURL ( "image/png" ) ;
200- anchor . download = this . _generateDownloadFilename ( "png" )
200+ anchor . download = this . _generateDownloadFilename ( "png" ) ;
201201
202202 }
203203
@@ -280,7 +280,7 @@ function App() {
280280
281281 // Override the anchor properties to force the download.
282282 anchor . href = `data:image/svg+xml;base64,${ btoa ( svgMarkup ) } ` ;
283- anchor . download = this . _generateDownloadFilename ( "svg" )
283+ anchor . download = this . _generateDownloadFilename ( "svg" ) ;
284284
285285 }
286286
@@ -380,7 +380,7 @@ function App() {
380380
381381 if ( urlState && ( urlState !== currentState ) ) {
382382
383- this . palette = [ ] ;
383+ this . palette . length = 0 ;
384384 this . activeSwatchIndex = 0 ;
385385 this . _loadState ( ) ;
386386 this . _focusHueAsync ( ) ;
You can’t perform that action at this time.
0 commit comments