This question already has an answer here:
- IE8 Array.prototype.slice: 'this' is not a JavaScript object 1 answer
Im newbie in js, this code works good on all browser except li elements (tabs).
(function() {
[].slice.call(document.querySelectorAll('.tabs')).forEach(function(el) {
new CBPFWTabs(el);
});
})();
Any help?