1
0
Fork 0
mirror of https://github.com/sbrl/Pepperminty-Wiki.git synced 2024-11-21 16:13:00 +00:00

Patch alt+enter support

This commit is contained in:
Starbeamrainbowlabs 2018-08-22 21:48:37 +01:00
parent b613d2b2dc
commit 3504d5bcad
Signed by: sbrl
GPG key ID: 1BE5172E637709C2
2 changed files with 3 additions and 1 deletions

View file

@ -405,7 +405,7 @@ if($settings->sessionprefix == "auto")
/////////////////////////////////////////////////////////////////////////////
/** The version of Pepperminty Wiki currently running. */
$version = "v0.17-dev";
$commit = "3581cc1437ab2b9033b10b84e896d829f0234985";
$commit = "b613d2b2dcaadbe0795fd610ec536406e2993510";
/// Environment ///
/** Holds information about the current request environment. */
$env = new stdClass();
@ -1895,6 +1895,7 @@ window.addEventListener("load", function(event) {
event.target.form.setAttribute("target", "_blank");
event.target.form.submit();
event.target.form.removeAttribute("target");
return false; // Required by some browsers
}
});
});

View file

@ -1500,6 +1500,7 @@ window.addEventListener("load", function(event) {
event.target.form.setAttribute("target", "_blank");
event.target.form.submit();
event.target.form.removeAttribute("target");
return false; // Required by some browsers
}
});
});