add a link to the raw paste from the pretty paste
fixes wantguns/bin#22
This commit is contained in:
@@ -31,3 +31,7 @@ function forkClicked() {
|
||||
function newPasteClicked() {
|
||||
window.location = homePage;
|
||||
}
|
||||
|
||||
function rawClicked() {
|
||||
window.location = window.location.href.replace('/p/', '/');
|
||||
}
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
</div>
|
||||
<div class="topRightBox">
|
||||
<button id="wrapBtn" onclick="wrapClicked()">⏎ Wrap</button>
|
||||
<button id="rawBtn" onclick="rawClicked()">= Raw</button>
|
||||
<button id="forkBtn" onclick="forkClicked()">⑂ Fork</button>
|
||||
<button id="newPasteBtn" onclick="newPasteClicked()">+ New</button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user