Hide footer in readonly mode
parent
b69c30a99b
commit
8e0cb75701
2
index.js
2
index.js
|
|
@ -152,7 +152,7 @@ const enableLineWrapping = () => {
|
|||
};
|
||||
|
||||
const openInNewTab = () => {
|
||||
window.open(location.href.replace('&readonly', ''));
|
||||
window.open(location.href.replace(/[?&]readonly/, ''));
|
||||
};
|
||||
|
||||
// Build a shareable URL
|
||||
|
|
|
|||
Loading…
Reference in New Issue