[Laszlo-dev] typo in "iframemanager.js"?

Max Carlson max at openlaszlo.org
Tue Jun 9 13:46:31 PDT 2009


It's a typo.  Thanks for catching that!

André Bargull wrote:
> "lps/includes/source/iframemanager.js", l.349-354:
>>             // clear __lastMouseDown to prevent mouseover/out events 
>> being sent as dragin/out events - see LzSprite.js and LzMouseKernel.js 
>> - there will be no global mouseup sent from window.document to clear 
>> this...
>>             if (eventname == 'onmouseup') {
>>                 if (LzMouseKernel.__lastMouseDown = 
>> iframe.owner.sprite) {
>>                     LzMouseKernel.__lastMouseDown = null;
>>                 }
>>             }
> 
> Is that an intended assignment in the inner if-condition or just a typo?
> 

-- 
Regards,
Max Carlson
OpenLaszlo.org



More information about the Laszlo-dev mailing list