summaryrefslogtreecommitdiff
path: root/src/frontend/display/bthtml.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend/display/bthtml.js')
-rw-r--r--src/frontend/display/bthtml.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/frontend/display/bthtml.js b/src/frontend/display/bthtml.js
index 79bffde..ec174d8 100644
--- a/src/frontend/display/bthtml.js
+++ b/src/frontend/display/bthtml.js
@@ -82,6 +82,8 @@ function mouseMoveHandler (mEvent)
if (node.attributes.length > 0)
{
attribList = getNodeAttributes(node);
+ if (attribList == "")
+ attribList = getNodeAttributes(node.parentNode);
btHtmlJsObject.mouseMoveEvent(attribList, x, y, shiftKey);
}
}
@@ -115,6 +117,9 @@ function timerEvent()
if (currentNode != 0 && currentNode == prevNode)
{
var attributes = getNodeAttributes(currentNode);
+ if (
+ attributes == "")
+ attributes = getNodeAttributes(currentNode.parentNode);
btHtmlJsObject.timeOutEvent(attributes);
}
}