Closed damncabbage closed 6 years ago
Uses link.parentNode.removeChild(link) (instead of link.remove()) in phoenix_live_reload.js for the sake of IE11 compatibility.
link.parentNode.removeChild(link)
link.remove()
phoenix_live_reload.js
(See https://developer.mozilla.org/en-US/docs/Web/API/ChildNode/remove for more information, a browser compatibility chart, and a reference for the polyfill I'm aping.)
:heart: :green_heart: :blue_heart: :yellow_heart: :purple_heart:
Uses
link.parentNode.removeChild(link)
(instead oflink.remove()
) inphoenix_live_reload.js
for the sake of IE11 compatibility.(See https://developer.mozilla.org/en-US/docs/Web/API/ChildNode/remove for more information, a browser compatibility chart, and a reference for the polyfill I'm aping.)