add a link to the raw paste from the pretty paste

fixes wantguns/bin#22
This commit is contained in:
ellotheth
2023-10-13 14:25:11 +02:00
committed by Gunwant Jain
parent e8fac0f0c8
commit 91be122104
2 changed files with 6 additions and 1 deletions

View File

@@ -31,3 +31,7 @@ function forkClicked() {
function newPasteClicked() {
window.location = homePage;
}
function rawClicked() {
window.location = window.location.href.replace('/p/', '/');
}