enable_resize: do not prevent right click in onmousedown

This commit is contained in:
Andrew Dolgov 2008-12-04 07:06:48 +01:00
parent 7cc1e4aed8
commit a4724aa3f5
1 changed files with 4 additions and 0 deletions

View File

@ -554,6 +554,10 @@ function enable_resize(b) {
function mouse_down_handler(e) {
try {
/* do not prevent right click */
if (e.button && e.button == 2) return;
if (resize_enabled) {
mouse_is_down = true;
mouse_x = 0;