From 3acb1ce030e8978b27e89761a6f05758b2923173 Mon Sep 17 00:00:00 2001
From: SepehrAsh <sepehrashs@gmail.com>
Date: Thu, 17 Dec 2020 16:54:58 +0330
Subject: [PATCH] Issue Number #97 & #106 Is Fixed , Excessive Argument Have
 Been Deleted & One Operator Was Missing That Is Handled In This Commit

---
 qwery.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/qwery.js b/qwery.js
index 92a510f..fc205e0 100644
--- a/qwery.js
+++ b/qwery.js
@@ -78,7 +78,7 @@
     if (selector && arrayLike(selector)) return flatten(selector)
 
 
-    if (doc.getElementsByClassName && selector == 'string' && (m = selector.match(classOnly))) {
+    if (doc.getElementsByClassName && typeof selector == 'string' && (m = selector.match(classOnly))) {
       return toArray((root).getElementsByClassName(m[1]))
     }
     // using duck typing for 'a' window or 'a' document (not 'the' window || document)
@@ -91,4 +91,4 @@
   qwery.uniq = uniq
 
   return qwery
-}, this);
+});