Skip to content

Make images smaller using best-in-class codecs, right in the browser.

JavaScript

tabs -> spaces

Jason Miller2d0256275399
diff --git a/src/index.html b/src/index.html
index 6fecc701..dac706e1 100644
--- a/src/index.html
+++ b/src/index.html
@@ -1,16 +1,23 @@
<!DOCTYPE html>
<html lang="en">
- <head>
- <meta charset="utf-8">
- <title>Squoosh</title>
- <meta name="viewport" content="width=device-width,initial-scale=1">
- <meta name="mobile-web-app-capable" content="yes">
- <meta name="apple-mobile-web-app-capable" content="yes">
- <meta name="theme-color" content="#673ab8">
- <link rel="manifest" href="/manifest.json">
- </head>
- <body>
- <div id="app" prerender></div>
- <!-- <link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons" /> -->
- </body>
+ <head>
+ <meta charset="utf-8">
+ <title>Squoosh</title>
+ <meta name="viewport" content="width=device-width,initial-scale=1">
+ <meta name="mobile-web-app-capable" content="yes">
+ <meta name="apple-mobile-web-app-capable" content="yes">
+ <meta name="theme-color" content="#673ab8">
+ <link rel="manifest" href="/manifest.json">
+ </head>
+ <body>
+ <div id="app" prerender></div>
+ <script>
+ (function(style){
+ style.rel='stylesheet'
+ style.href='https://fonts.googleapis.com/icon?family=Material+Icons'
+ document.head.appendChild(style)
+ })(document.createElement('link'));
+ </script>
+ <!-- <link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons" /> -->
+ </body>
</html>
\ No newline at end of file