Skip to content
This repository
Browse code

Merge pull request #9 from plytro/upstream

Send you right to your paste upon success
  • Loading branch information...
commit f219a2188e52496f23c7df78f343ba176563c479 2 parents 839c770 + 9386402
Xan Manning authored

Showing 1 changed file with 1 addition and 2 deletions. Show diff stats Hide diff stats

  1. +1 2  index.php
3  index.php
@@ -2478,8 +2478,7 @@ function submitPaste(targetButton){
2478 2478 $('#result').prepend('<div class="error" id="' + msg.error + '">' + msg.message + '</div>');
2479 2479 } else
2480 2480 {
2481   - buttonElement.attr('value', 'Submit your Paste');
2482   - $('#result').prepend('<div class="success">Your paste has been successfully recorded!</div><div class="confirmURL">URL to your paste is <a href="' + msg.url + '">' + msg.url + '</a></div>');
  2481 + window.location=msg.url;
2483 2482 }
2484 2483
2485 2484 window.scrollTo(0,0);

0 comments on commit f219a21

Please sign in to comment.
Something went wrong with that request. Please try again.