diff options
author | JJfutbol <JJfutbol@d4e419ec-0920-11de-bbfd-a7c1bc4c261e> | 2009-09-09 18:45:13 +0000 |
---|---|---|
committer | JJfutbol <JJfutbol@d4e419ec-0920-11de-bbfd-a7c1bc4c261e> | 2009-09-09 18:45:13 +0000 |
commit | 9368e2d8e179a6e2972e82678f9facb73a9f7f33 (patch) | |
tree | 7bd87af702e5e3098960c9988402db81ef33894f /js | |
parent | 4c0e9e9390adfe8e7296598fc35ed8b52255b960 (diff) | |
download | readability-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
Diffstat (limited to 'js')
-rwxr-xr-x | js/readability.js | 2 |
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
|