| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -197,7 +197,7 @@ function App() { | |||
| 197 | 197 | ||
| 198 | 198 | // Override the anchor properties to force the download. | |
| 199 | 199 | anchor.href = canvas.toDataURL( "image/png" ); | |
| 200 | - anchor.download = this._generateDownloadFilename( "png" ) | ||
| 200 | + anchor.download = this._generateDownloadFilename( "png" ); | ||
| 201 | 201 | ||
| 202 | 202 | } | |
| 203 | 203 | ||
@@ -280,7 +280,7 @@ function App() { | |||
| 280 | 280 | ||
| 281 | 281 | // Override the anchor properties to force the download. | |
| 282 | 282 | anchor.href = `data:image/svg+xml;base64,${ btoa( svgMarkup ) }`; | |
| 283 | - anchor.download = this._generateDownloadFilename( "svg" ) | ||
| 283 | + anchor.download = this._generateDownloadFilename( "svg" ); | ||
| 284 | 284 | ||
| 285 | 285 | } | |
| 286 | 286 | ||
@@ -380,7 +380,7 @@ function App() { | |||
| 380 | 380 | ||
| 381 | 381 | if ( urlState && ( urlState !== currentState ) ) { | |
| 382 | 382 | ||
| 383 | - this.palette = []; | ||
| 383 | + this.palette.length = 0; | ||
| 384 | 384 | this.activeSwatchIndex = 0; | |
| 385 | 385 | this._loadState(); | |
| 386 | 386 | this._focusHueAsync(); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments