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

This commit is contained in:
Isaac Connor committed 2020-05-13 08:02:49 -04:00
1 parent f72ad1023c
commit edd718afd2
1 file changed
+2 -3
+2 -3
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();