summaryrefslogtreecommitdiff
path: root/email.php
diff options
context:
space:
mode:
authorJJfutbol <JJfutbol@d4e419ec-0920-11de-bbfd-a7c1bc4c261e>2009-07-07 02:02:48 +0000
committerJJfutbol <JJfutbol@d4e419ec-0920-11de-bbfd-a7c1bc4c261e>2009-07-07 02:02:48 +0000
commitb260a47d808ed044f5d12ec8920e946c581096e9 (patch)
treee7ef3bb44a441c8f1f97cd120a39056f8c79eb1c /email.php
parent57bf81102a6177794a5aa48dba75070e3f4c3485 (diff)
downloadreadability-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.php12
1 files changed, 8 insertions, 4 deletions
diff --git a/email.php b/email.php
index 9f7404a..4fcd045 100644
--- a/email.php
+++ b/email.php
@@ -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">