xtell and ytell are data-xtell and data-ytell fixes #2932

This commit is contained in:
Isaac Connor
2020-05-13 08:01:04 -04:00
parent f72ad1023c
commit edd718afd2

View File

@@ -695,12 +695,11 @@ function getControlResponse(respObj, respText) {
function controlCmd(event) {
button = event.target;
control = button.getAttribute('value');
xtell = button.getAttribute('xtell');
ytell = button.getAttribute('ytell');
xtell = button.getAttribute('data-xtell');
ytell = button.getAttribute('data-ytell');
var locParms = '';
if ( event && (xtell || ytell) ) {
console.log(event);
var target = event.target;
var coords = $(target).getCoordinates();