Skip to content

Commit e1e107d

Browse files
committed
1 parent c19b2f2 commit e1e107d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "webuilder",
3-
"version": "1.0.3",
3+
"version": "1.0.4",
44
"description": "frontend kit for typescript and javascript",
55
"homepage": "https://git.jeyserver.com/webuilder/npm",
66
"license": "MIT",

src/ts/Router.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,8 @@ export class Router{
121121
}
122122
public static getAjaxFormURL(link:string) :string {
123123
let url = new URL(link);
124-
url.searchparams.set('ajax', "1");
124+
// https://github.com/Microsoft/TypeScript/issues/14399
125+
(url as any).searchparams.set('ajax', "1");
125126
return url.toString();
126127
}
127128
}

0 commit comments

Comments
 (0)