mirror of
https://github.com/scratchfoundation/scratchjr.git
synced 2025-03-14 06:59:49 -04:00
code lint & clean up
This commit is contained in:
parent
ea83529bca
commit
5b15c51217
5 changed files with 7 additions and 11 deletions
|
@ -369,7 +369,7 @@ div.localizationselect.selected:after {
|
|||
|
||||
#footer ul.footer-nav .tab,.tab2 {
|
||||
position: absolute;
|
||||
width: 20vw;
|
||||
width: ${css_vw(20)};
|
||||
height: ${css_vh(10.15)};
|
||||
}
|
||||
|
||||
|
|
|
@ -103,8 +103,5 @@
|
|||
<div class="highlight" data-i18n="PRIVACY_CONTACT_HIGHLIGHT"></div>
|
||||
<div class="description" data-i18n="PRIVACY_CONTACT_DESCRIPTION"></div>
|
||||
</div>
|
||||
|
||||
<div class="description"></div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -953,7 +953,7 @@ export default class UI {
|
|||
var tf = newHTML('div', 'pagetext off', p);
|
||||
tf.setAttribute('id', 'textbox');
|
||||
// If the textbox background is clicked or touched, the input loses focus,
|
||||
// which causes the text input to close unexpectedly
|
||||
// which causes the text input to close unexpectedly
|
||||
var eatEvent = function (e) {
|
||||
e.stopPropagation();
|
||||
e.preventDefault();
|
||||
|
|
|
@ -10,11 +10,11 @@ import {homeMain} from './home';
|
|||
import {editorMain} from './editor';
|
||||
import {gettingStartedMain} from './gettingstarted';
|
||||
import {
|
||||
inappInterfaceGuide,
|
||||
inappAbout,
|
||||
inappBlocksGuide,
|
||||
inappInterfaceGuide,
|
||||
inappAbout,
|
||||
inappBlocksGuide,
|
||||
inappPaintEditorGuide,
|
||||
inappPrivacyPolicy,
|
||||
inappPrivacyPolicy
|
||||
} from './inapp';
|
||||
|
||||
function loadSettings (settingsRoot, whenDone) {
|
||||
|
|
|
@ -205,7 +205,6 @@ export function inappPrivacyPolicy () {
|
|||
const elements = document.querySelectorAll('[data-i18n]');
|
||||
elements.forEach(function (item) {
|
||||
const key = item.getAttribute('data-i18n');
|
||||
console.log(key);
|
||||
item.innerHTML = Localization.localize(key);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue