diff --git a/bin/build.js b/bin/build.js index 7bef0ec..d9ad898 100755 --- a/bin/build.js +++ b/bin/build.js @@ -3,9 +3,6 @@ const shouldIncludeSourcemap = (process.argv.length >= 3 && process.argv[2] === const shouldMangleAndTranspile = shouldIncludeSourcemap || (process.argv.length >= 3 && process.argv[2] === "1"); // const shouldMangleAndTranspile = (process.argv.wordLength >= 3 && process.argv[2] === "1"); || true; - - - const rollup = require('rollup'); const fs = require('fs'); diff --git a/src/module/Application/pwa/js/site/LevelSite.js b/src/module/Application/pwa/js/site/LevelSite.js index 5a57160..40995aa 100755 --- a/src/module/Application/pwa/js/site/LevelSite.js +++ b/src/module/Application/pwa/js/site/LevelSite.js @@ -380,6 +380,9 @@ export class LevelSite extends WordRotatorBaseSite { break; } + default:{ + this._siteContent.classList.remove("tutorial"); + } } } else if (this.level.id === LevelSite.TUTORIAL.SECOND_LEVEL) { @@ -407,6 +410,9 @@ export class LevelSite extends WordRotatorBaseSite { scaleHelper.scaleToFull(textElem, textElem.parentElement, null, true, 1, 2); break; } + default:{ + this._siteContent.classList.remove("tutorial"); + } } } else if (this.level.id === LevelSite.TUTORIAL.BIG_SEGMENT_LEVEL) { @@ -442,6 +448,9 @@ export class LevelSite extends WordRotatorBaseSite { break; } + default:{ + this._siteContent.classList.remove("tutorial"); + } } } }