This commit is contained in:
SirFist
2020-02-29 00:29:58 +00:00
2 changed files with 6 additions and 6 deletions

View File

@@ -18,7 +18,6 @@ function checkAuthResult() {
}
$(function() {
// Login form submission.
$("#loginform").submit(function(e){
e.preventDefault();
@@ -34,12 +33,13 @@ $(function() {
checkAuthResult();
});
$("#btn_config").click(function() {
// Config button.
$("#configButton").click(function(){
try{
window.external.openMhlConfig();
} catch(e){
createErrorAlert("Error on openMhlConfig: " + e);
}
})
});
});

View File

@@ -57,13 +57,13 @@
<input type="password" class="form-control" id="password" placeholder="Password">
</div>
<button id="submitButton" type="submit" class="btn btn-primary">Submit</button>
<button id="btn_config" class="btn btn-primary">Config</button>
<button id="configButton" class="btn btn-secondary">Config</button>
</form>
</div>
</div>
<div class="col-4"></div>
</div>
</div>
</body>
</html>