Remove old isHidden function
This commit is contained in:
parent
f66a331335
commit
24e093c5c3
@ -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) {
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user