Update of /cvsroot/dynapi/dynapi/src/lib/dynapi/api In directory usw-pr-cvs1:/tmp/cvs-serv16536 Modified Files: events.js Log Message: Small change to if-logic statement Index: events.js =================================================================== RCS file: /cvsroot/dynapi/dynapi/src/lib/dynapi/api/events.js,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -r1.12 -r1.13 *** events.js 2001/01/16 18:18:14 1.12 --- events.js 2001/01/17 16:12:01 1.13 *************** *** 2,6 **** DynAPI Distribution Event Classes - Modified: 2000.11.05 The DynAPI Distribution is distributed under the terms of the GNU LGPL license. --- 2,5 ---- *************** *** 36,40 **** this.y=is.ie?e.offsetY:e.layerY; var b = is.ie?e.button:e.which; ! if (is.ie){ if (b==2) b = 3; else if (b==4) b = 2; --- 35,39 ---- this.y=is.ie?e.offsetY:e.layerY; var b = is.ie?e.button:e.which; ! if (is.ie) { if (b==2) b = 3; else if (b==4) b = 2; *************** *** 47,51 **** shft = (e.shiftKey || e.shiftLeft)?true:false; } ! if (is.ns){ var m = e.modifiers; alt = (m==1 || m==3 || m==5 || m==7)?true:false; --- 46,50 ---- shft = (e.shiftKey || e.shiftLeft)?true:false; } ! else if (is.ns){ var m = e.modifiers; alt = (m==1 || m==3 || m==5 || m==7)?true:false; *************** *** 66,70 **** this.src.invokeEvent(this.type,this); this.bubbleEvent(); ! return }; MouseEvent.prototype.getX=function() {return this.x}; --- 65,69 ---- this.src.invokeEvent(this.type,this); this.bubbleEvent(); ! return; }; MouseEvent.prototype.getX=function() {return this.x}; _______________________________________________ Dynapi-CVS mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/dynapi-cvs