general fixes

This commit is contained in:
Your Name
2018-07-11 13:21:21 -04:00
parent d3e6af4643
commit 73d31021d2
3 changed files with 14 additions and 3 deletions

View File

@@ -847,6 +847,16 @@ function pagination_results(e) {
function handleEvent(e, target, tried, type) {
var path = e.path || (e.composedPath && e.composedPath());
if(!path) {
var path = [target];
var parent = target.parentElement;
while(parent != null) {
path.push(parent);
try {
parent = parent.parentElement;
} catch(e){break;}
}
}
if(path) {
for(var y = 0; y < path.length; y++) {
var target = path[y];