Followers

Saturday 30 September 2017

js code not working in IE and Edge

Source: stackoverflow.com --- Friday, September 29, 2017
as a part of my Django app, I have a small js code that works fine in Chrome, but I just noticed that it is not working in IE or Microsoft Edge. What causes this? I have Windows 10 and everything is the latest version, so why IE cannot run the js code. The part that I have a problem is this: [].slice.call(document.querySelectorAll('.dropdown .nav-link')).forEach(function(el){ el.addEventListener('click', onClick, false); }); ...



from Windows http://ift.tt/2xMSgcN

No comments:

Post a Comment