diff options
author | Aleksander Machniak <alec@alec.pl> | 2015-01-16 09:47:46 +0100 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2015-01-16 09:47:46 +0100 |
commit | b7e3b15a8a551092a69a43cb7f6af8726988f723 (patch) | |
tree | c9e51a2df24f0a6f0593d8a2f63d409fe1d4d338 /program/js/list.js | |
parent | f4154d91080fcd2404102e8d57679f42af96ef2e (diff) |
Fix javascript error in "IE 8.0/Tablet PC" browser (#1490210)
Diffstat (limited to 'program/js/list.js')
-rw-r--r-- | program/js/list.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/js/list.js b/program/js/list.js index bbf6e1e01..9a7f2840e 100644 --- a/program/js/list.js +++ b/program/js/list.js @@ -154,7 +154,7 @@ init_row: function(row) row.onmousedown = function(e){ return self.drag_row(e, this.uid); }; row.onmouseup = function(e){ if (e.which == 1) return self.click_row(e, this.uid); }; - if (bw.touch) { + if (bw.touch && row.addEventListener) { row.addEventListener('touchstart', function(e) { if (e.touches.length == 1) { self.touchmoved = false; |