Override existing $ function, fixed a few event module issues
This commit is contained in:
parent
a41e850db9
commit
ef2dcf4ac6
6
kis.js
6
kis.js
@ -26,7 +26,7 @@
|
||||
return (x.length === 1) ? x[0] : x;
|
||||
};
|
||||
|
||||
window.$ = window.$ || $;
|
||||
window.$ = $;
|
||||
|
||||
/**
|
||||
* Ajax
|
||||
@ -273,6 +273,8 @@
|
||||
{
|
||||
var i,len;
|
||||
|
||||
if(!sel){return false;}
|
||||
|
||||
if(sel.length)
|
||||
{
|
||||
len = sel.length;
|
||||
@ -290,6 +292,8 @@
|
||||
{
|
||||
var i, len;
|
||||
|
||||
if(!sel){return false;}
|
||||
|
||||
if(sel.length)
|
||||
{
|
||||
len = sel.length;
|
||||
|
Loading…
Reference in New Issue
Block a user