diff options
Diffstat (limited to 'dashboard/app/static')
| -rw-r--r-- | dashboard/app/static/common.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dashboard/app/static/common.js b/dashboard/app/static/common.js index c2e021d81..5b4f8737c 100644 --- a/dashboard/app/static/common.js +++ b/dashboard/app/static/common.js @@ -1,8 +1,8 @@ // Copyright 2018 syzkaller project authors. All rights reserved. // Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. -function sortTable(colName, conv) { - table = event.srcElement.parentNode.parentNode.parentNode; +function sortTable(item, colName, conv) { + table = item.parentNode.parentNode.parentNode; rows = table.getElementsByTagName("tr"); col = findColumnByName(rows[0].getElementsByTagName("th"), colName); values = new Array; |
