mootools / mootools-core

MooTools Core Repository
https://mootools.net
2.65k stars 507 forks source link

this may help #2726

Closed deadmann closed 9 years ago

deadmann commented 9 years ago

i'm not sure if it help or not,

but also i receive error on webstorm intelisense for this part:

line: 5848

// Make sure that domready fires before load Element.Events.load = { base: 'load', onAdd: function(fn){ if (loaded && this == window) fn.call(this); }, condition: function(){ if (this == window){ domready(); ------Error is on this line -> invalid call target------ delete Element.Events.load; } return true; } };

my version is 1.4.5 (get from nuget) I don't see this error on minified version

deadmann commented 9 years ago

put new issue instead of comment,...sry