router options string to object

This commit is contained in:
Yurii
2026-01-05 11:15:37 +02:00
parent 48efb09003
commit 926e951dfc
+1 -1
View File
@@ -528,7 +528,7 @@ const Router = Backbone.Router.extend(/** @lends Router# */ {
}
if (string.indexOf('&') === -1 && string.indexOf('=') === -1) {
return string;
return {[string]: true};
}
const options = {};