Only do the hasAttribute check if the method exists - IE falls back to the ===...
Only do the hasAttribute check if the method exists - IE falls back to the === null check below which allows this to still work. Follow-up to cb40495b - thanks to @jitter for the catch.
Showing
Please register or sign in to comment