Skip to content

Commit f6d4b6f

Browse files
committed
reverse order of checking urlsubstring
1 parent cd3006f commit f6d4b6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unbxdSearch.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1036,7 +1036,7 @@ var unbxdSearchInit = function(jQuery, Handlebars){
10361036
return "//search.unbxdapi.com/"+ this.options.APIKey + "/" + this.options.siteName + "/" + (this.options.type == "browse" ? "browse" : "search" )
10371037
}
10381038
,getUrlSubstring: function(){
1039-
return window.location.hash.substring(1) || window.location.search.substring(1);
1039+
return window.location.search.substring(1) || window.location.hash.substring(1);
10401040
}
10411041
,url : function(){
10421042
var host_path = this.getHostNPath();

0 commit comments

Comments
 (0)