Authored by xuqi

extact url bug when location.search is empty

... ... @@ -8,7 +8,7 @@ var opt = {};
var paramStr = window.location.search.split('?')[1];
var keyVal = paramStr.split('&');
var keyVal = paramStr ? paramStr.split('&') : [];
var i, key, val;
... ...