summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJJfutbol <JJfutbol@d4e419ec-0920-11de-bbfd-a7c1bc4c261e>2009-09-09 18:45:13 +0000
committerJJfutbol <JJfutbol@d4e419ec-0920-11de-bbfd-a7c1bc4c261e>2009-09-09 18:45:13 +0000
commit9368e2d8e179a6e2972e82678f9facb73a9f7f33 (patch)
tree7bd87af702e5e3098960c9988402db81ef33894f
parent4c0e9e9390adfe8e7296598fc35ed8b52255b960 (diff)
downloadreadability-simple-9368e2d8e179a6e2972e82678f9facb73a9f7f33.tar.bz2
readability-simple-9368e2d8e179a6e2972e82678f9facb73a9f7f33.zip
added return false to email,print,reload toolbar links
git-svn-id: http://arc90labs-readability.googlecode.com/svn/trunk@74 d4e419ec-0920-11de-bbfd-a7c1bc4c261e
-rwxr-xr-xjs/readability.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/readability.js b/js/readability.js
index 3d6a4fc..383dd0d 100755
--- a/js/readability.js
+++ b/js/readability.js
@@ -40,7 +40,7 @@ if (typeof console == 'undefined')
// set up the toolbar widget
toolBar.id = "readTools";
toolBar.innerHTML = '<a href="#" onclick="window.location.reload();return false;" title="Reload original page" id="reload-page">Reload Original Page</a>' +
- '<a href="#" onclick="javascript:window.print();" title="Print page" id="print-page">Print Page</a>' +
+ '<a href="#" onclick="javascript:window.print();return false;" title="Print page" id="print-page">Print Page</a>' +
'<a href="#" onclick="emailBox();return false;" title="Email page" id="email-page">Email Page</a>';
// we'll use the page title as our title, unfortunately not all sites use