diff --git a/src/web-chatview/chatview.js b/src/web-chatview/chatview.js index 8d88ec4e69f476cfda03ca1a1c6130d68959b6b4..591f1c408f5697e81588032b5fbb222c75dd8fbd 100644 --- a/src/web-chatview/chatview.js +++ b/src/web-chatview/chatview.js @@ -78,6 +78,13 @@ document.body.onclick = function(e) { } } +// same for mouse middle button +document.body.onauxclick = function(e) { + if (e.which === 2) { + return false + } +} + /* String sipmle format prototype*/ String.prototype.format = function() { var a = this