diff --git a/src/entry/index.js b/src/entry/index.js index e680aa1..135b2da 100644 --- a/src/entry/index.js +++ b/src/entry/index.js @@ -25,6 +25,8 @@ export function indexMain () { gn('topbar-moreapps').ontouchstart = indexMoreApps; gn('topbar-info').ontouchstart = indexInfo; + } else { + gn('gear').ontouchstart = indexGoSettings; } setTimeout(function () { @@ -100,6 +102,13 @@ function indexGohome () { } } +function indexGoSettings () { + // Switch to the settings selection page + // Triggered by tapping the gear icon in the top right + ScratchAudio.sndFX('tap.wav'); + window.location.href = 'home.html?place=gear'; +} + function indexGettingstarted () { ScratchAudio.sndFX('tap.wav'); window.location.href = 'gettingstarted.html?place=home';