Use Javascript strict mode

This commit is contained in:
Chocobo1
2018-11-30 18:30:26 +08:00
parent 1c525d9c19
commit 1cb065edc6
27 changed files with 54 additions and 0 deletions

View File

@@ -8,6 +8,8 @@
<link rel="stylesheet" type="text/css" href="css/login.css" />
<script src="scripts/lib/mootools-1.2-core-yc.js"></script>
<script>
'use strict';
window.onload = function() {
$('username').focus();
$('username').select();