aboutsummaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorThedro Neely <thedroneely@gmail.com>2021-09-30 16:36:56 -0400
committerThedro Neely <thedroneely@gmail.com>2021-09-30 16:36:56 -0400
commit5aba3e02a20efe0ce943ff5d83b953f922a76450 (patch)
tree938d5af78fcf72705e5be41be591b7fcdf0635f7 /public
parenteb759662b2f8bbf4288e175450eb0cb508ec672e (diff)
downloadthedroneely.com-5aba3e02a20efe0ce943ff5d83b953f922a76450.tar.gz
thedroneely.com-5aba3e02a20efe0ce943ff5d83b953f922a76450.tar.bz2
thedroneely.com-5aba3e02a20efe0ce943ff5d83b953f922a76450.zip
public/js/app: Use Object.prototype here
Diffstat (limited to 'public')
-rw-r--r--public/js/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/js/app.js b/public/js/app.js
index 2b49b0b..97fa380 100644
--- a/public/js/app.js
+++ b/public/js/app.js
@@ -160,7 +160,7 @@ window.addEventListener('scroll', function(event) {
return node.tagName === "IMG";
};
var isNodeList = function isNodeList(selector) {
- return NodeList.prototype.isPrototypeOf(selector);
+ return Object.prototype.hasOwnProperty.call(NodeList, selector);
};
var isNode = function isNode(selector) {
return selector && selector.nodeType === 1;