diff options
author | JJfutbol <JJfutbol@d4e419ec-0920-11de-bbfd-a7c1bc4c261e> | 2009-07-07 02:02:48 +0000 |
---|---|---|
committer | JJfutbol <JJfutbol@d4e419ec-0920-11de-bbfd-a7c1bc4c261e> | 2009-07-07 02:02:48 +0000 |
commit | b260a47d808ed044f5d12ec8920e946c581096e9 (patch) | |
tree | e7ef3bb44a441c8f1f97cd120a39056f8c79eb1c /email.php | |
parent | 57bf81102a6177794a5aa48dba75070e3f4c3485 (diff) | |
download | readability-simple-b260a47d808ed044f5d12ec8920e946c581096e9.tar.bz2 readability-simple-b260a47d808ed044f5d12ec8920e946c581096e9.zip |
- updated cancel email link to use lab.arc90.com domain, not davidh's site
- complete reworking of readability, initial commit of what will be 1.0.0.1
git-svn-id: http://arc90labs-readability.googlecode.com/svn/trunk@58 d4e419ec-0920-11de-bbfd-a7c1bc4c261e
Diffstat (limited to 'email.php')
-rw-r--r-- | email.php | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -262,7 +262,7 @@ <script type="text/javascript" charset="utf-8"> window.onload = function(){ document.getElementById('cancel-email').onclick = function(){ - window.location = 'http://davehauenstein.com/readability/close.html'; + window.location = 'http://lab.arc90.com/experiments/readability/close.html'; return false; }; document.getElementById('send-email').onclick = function(){ @@ -271,9 +271,13 @@ }; }; <?php if($page == "complete"){ ?> - timer = setTimeout(function(){ - window.location = 'close.html'; - }, 3000); + var timer = setTimeout(redirectToClosingPage, 3000); + + function redirectToClosingPage() + { + clearTimeout(timer); + window.location = 'close.html'; + } <?php } ?> </script> <style type="text/css" media="screen"> |