diff --git a/src/app/components/Header.jsx b/src/app/components/Header.jsx index 8fb6f9fc..ff880f1b 100644 --- a/src/app/components/Header.jsx +++ b/src/app/components/Header.jsx @@ -25,11 +25,11 @@ const SIZE_RANGE = 0.55; * @return {Number} Normalized value */ function normalizePercent(val) { - if (val === '' || isNaN(val)) { - return 0; - } - val = Math.round(val * 1000) / 1000; - return val >= 100 ? 100 : val; + if (val === '' || isNaN(val)) { + return 0; + } + val = Math.round(val * 1000) / 1000; + return val >= 100 ? 100 : val; } /** @@ -38,7 +38,7 @@ function normalizePercent(val) { * @return {Number} Rounded value */ function nearestQtrPct(val) { - return Math.round(val * 4) / 4; + return Math.round(val * 4) / 4; } /** @@ -46,7 +46,7 @@ function nearestQtrPct(val) { * @param {SyntheticEvent} e Event */ function selectAll(e) { - e.target.select(); + e.target.select(); } /** diff --git a/src/app/components/ModalHelp.jsx b/src/app/components/ModalHelp.jsx index 3783f943..8b6f3d62 100644 --- a/src/app/components/ModalHelp.jsx +++ b/src/app/components/ModalHelp.jsx @@ -40,7 +40,7 @@ export default class ModalHelp extends TranslatedComponent { return
e.stopPropagation() }>

{translate(this.props.title || 'Help')}

-
+
; } diff --git a/src/app/pages/OutfittingPage.jsx b/src/app/pages/OutfittingPage.jsx index 49af9ffa..e2345fbc 100644 --- a/src/app/pages/OutfittingPage.jsx +++ b/src/app/pages/OutfittingPage.jsx @@ -294,12 +294,11 @@ export default class OutfittingPage extends Page { case 69: // 'e' if (e.ctrlKey || e.metaKey) { // CTRL/CMD + e e.preventDefault(); - console.log('Export') this._exportBuild(); } break; - } } + } /** * Render the Page