mirror of
https://github.com/ONLYOFFICE/document-server-integration.git
synced 2026-04-07 14:06:11 +08:00
nodejs: create url without parameters
This commit is contained in:
@ -282,9 +282,9 @@ if (typeof jQuery != "undefined") {
|
||||
jq(".try-editor").each(function () {
|
||||
var href = jq(this).attr("href");
|
||||
if (jq("#createSample").is(":checked")) {
|
||||
href = href.replace("&create=true", "");
|
||||
href += "&sample=true";
|
||||
} else {
|
||||
href += "&create=true";
|
||||
href = href.replace("&sample=true", "");
|
||||
}
|
||||
jq(this).attr("href", href);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user