Remove old isHidden function

This commit is contained in:
Guillaume Gomez 2019-11-07 10:13:44 +01:00
parent f66a331335
commit 24e093c5c3
2 changed files with 1 additions and 5 deletions

View File

@ -3,7 +3,7 @@
// Local js definitions:
/* global addClass, getCurrentValue, hasClass */
/* global isHidden, onEach, removeClass, updateLocalStorage */
/* global onEach, removeClass, updateLocalStorage */
if (!String.prototype.startsWith) {
String.prototype.startsWith = function(searchString, position) {

View File

@ -24,10 +24,6 @@ function removeClass(elem, className) {
elem.classList.remove(className);
}
function isHidden(elem) {
return elem.offsetParent === null;
}
function onEach(arr, func, reversed) {
if (arr && arr.length > 0 && func) {
var length = arr.length;