Begin removing jquery, use vanilla js

This commit is contained in:
mmcwilliams 2017-11-21 16:34:07 -05:00
parent 4e76274e83
commit 42aa573698
1 changed files with 2 additions and 8 deletions

View File

@ -258,6 +258,7 @@
delayScale : 'ms',
counter : 0
}
//functions
var frame;
var getState;
var setDir;
@ -386,15 +387,10 @@
$('#mscriptIcon').removeClass('selected');
$('#settingsIcon').addClass('selected');
};
function () {
};
</script>
<script>
var web = {};
web.frame = function () {
'use strict';
$.ajax({
method : 'POST',
url : '/frame',
@ -404,7 +400,6 @@
});
}
web.frameSuccess = function (res) {
'use strict';
$('#frame').blur();
if (res.dir === true) {
incCounter(1);
@ -413,8 +408,7 @@
}
};
web.setDir = function () {
'use strict';
var dir = !$('#dir').is(':checked');
var dir = document.getElementById('dir').checked;
/*$.ajax({
method : 'POST',
url : '/dir',