Closed jpa00 closed 11 years ago
Maybe add something like this to the start of the function?
var prefixTestList = ['', '-webkit-', '-ms-', '-moz-', '-o-']; var stickyTestElement = document.createElement('div'); for (var i = 0; i < prefixTestList.length; i++) { stickyTestElement.style.position = prefixTestList[i] + 'sticky'; if (stickyTestElement.style.position != '') return; }
Good idea, I'll take a look at this soon.
Maybe add something like this to the start of the function?