回答編集履歴
1
chousei
test
CHANGED
@@ -22,13 +22,9 @@
|
|
22
22
|
|
23
23
|
var obj={};
|
24
24
|
|
25
|
-
if(typeof selector=="object"){
|
25
|
+
if(typeof selector=="object" && selector instanceof HTMLElement){
|
26
26
|
|
27
|
-
if(selector instanceof HTMLElement){
|
28
|
-
|
29
|
-
|
27
|
+
arr=[selector];
|
30
|
-
|
31
|
-
};
|
32
28
|
|
33
29
|
}else{
|
34
30
|
|