Closed (fixed)
Project:
Blazy
Version:
8.x-2.0-rc5
Component:
JavaScript
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Oct 2019 at 17:39 UTC
Updated:
15 Dec 2019 at 11:59 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
gausarts commentedBy the sound of it, appears to be another side issue from the previous commits.
Could you press F12, and view and copy the browser console for the exact error messages?
I may not be able to attend to it for a while. Patches are welcome. Thank you!
Comment #3
gausarts commentedCould you or anyone with IE11 please change this line:
https://git.drupalcode.org/project/blazy/blob/8.x-2.x/js/blazy.load.js#L116
var documentElement = elm.closest('html')to:
var documentElement = _db.closest(elm, 'html');And verify the issue resolved? Thanks!
Comment #4
lindsay.wils commentedThanks for much for getting on this so quickly. Ive tested the js change on rc5 and it has fixed the issue!
Ive just glanced over the instructions on how to create a patch (never done it before) and unfortunately i wouldn't have time today to do that, but if you cant get to it, I can revisit next week.
Comment #5
gausarts commentedThanks for the confirmation! Patches are welcome in case anyone feeling invited to contribute.
Comment #6
michiellucas commentedThanks for the solution @guasarts.
created a patch here
Comment #7
gausarts commentedThank you!
Please allow some time to get back into this.
Comment #8
lindsay.wils commentedThanks for the patch @michiellucas, I have successfully applied it and can confirm it has fixed the errors in IE11.
Comment #9
anruetherSetting correct status and version
Comment #10
anruether#6 works for me. Thanks!
Comment #12
gausarts commentedSorry for delay.
Committed. Thank you for contribution!