mirror of
https://github.com/scratchfoundation/scratchjr.git
synced 2024-11-28 18:15:37 -05:00
clean up
This commit is contained in:
parent
29d26ba343
commit
247f41f33c
2 changed files with 4 additions and 3 deletions
|
@ -454,7 +454,10 @@ export default class Library {
|
|||
}
|
||||
|
||||
tb.className = 'assetbox on';
|
||||
selectedOne = tb.id;
|
||||
// to avoid double click
|
||||
setTimeout(function () {
|
||||
selectedOne = tb.id;
|
||||
}, 200);
|
||||
clickThumb = tb;
|
||||
if (tb.fieldname) {
|
||||
gn('assetname').textContent = tb.fieldname;
|
||||
|
|
|
@ -75,7 +75,6 @@ export function inappInterfaceGuide () {
|
|||
window.parent.ScratchAudio.sndFXWithVolume('keydown.wav', 0.3);
|
||||
}
|
||||
};
|
||||
document.addEventListener('touchstart', switchHelp, false);
|
||||
document.addEventListener('click', switchHelp, false);
|
||||
}
|
||||
|
||||
|
@ -126,7 +125,6 @@ export function inappPaintEditorGuide () {
|
|||
window.parent.ScratchAudio.sndFXWithVolume('keydown.wav', 0.3);
|
||||
}
|
||||
};
|
||||
document.addEventListener('touchstart', switchHelp, false);
|
||||
document.addEventListener('click', switchHelp, false);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue