xiao icon indicating copy to clipboard operation
xiao copied to clipboard

Error in paramsToObj when there are no URL parameters

Open TimVevida opened this issue 4 years ago • 1 comments

When there are no parameters in the URL, an error is thrown in the paramsToObj function (in Firefox at least):

TypeError: string.match(...) is null

TimVevida avatar Apr 10 '20 08:04 TimVevida

This issue is only present in xiao-es5.js, it seems there was a copy-paste error in bd97a75eb7669682706bcf89a9cca640d034c351.

TimVevida avatar Apr 10 '20 08:04 TimVevida