Browse Source

Removed extra commas in (/options/) that broke compatibility with older chrome versions

serge 6 years ago
parent
commit
d1e3a6b005
2 changed files with 3 additions and 3 deletions
  1. 2 2
      options/origins.js
  2. 1 1
      options/themes.js

+ 2 - 2
options/origins.js

@@ -278,7 +278,7 @@ var Origins = () => {
                 !state.permissions[origin] ? m('span', m('strong', 'refresh')) : null,
                 state.origins[origin].match !== state.match ? m('span', 'match') : null,
                 state.origins[origin].csp ? m('span', 'csp') : null,
-                state.origins[origin].encoding ? m('span', 'encoding') : null,
+                state.origins[origin].encoding ? m('span', 'encoding') : null
               ),
               m('i.material-icons', {
                 class: state.origins[origin].expanded ? 'icon-arrow-up' : 'icon-arrow-down'
@@ -317,7 +317,7 @@ var Origins = () => {
                     m('.mdc-switch__background', m('.mdc-switch__knob')),
                     m('span.mdc-switch-label',
                       'Disable ',
-                      m('code', 'Content Security Policy'),
+                      m('code', 'Content Security Policy')
                     )
                   )
                 )

+ 1 - 1
options/themes.js

@@ -137,7 +137,7 @@ var Themes = () => {
           onclick: events.add
           },
           'Add'
-        ),
+        )
       ),
 
       // themes list