diff options
author | Alessandro Cosentino <cosenal@gmail.com> | 2012-02-27 18:20:40 -0500 |
---|---|---|
committer | Alessandro Cosentino <cosenal@gmail.com> | 2012-02-27 18:20:40 -0500 |
commit | 630cee0ef29697c8cfef4c5816f599534706b350 (patch) | |
tree | 877d6e4d06e9f7d9f9e583cc89496d65618dd6b3 /apps/bookmarks | |
parent | 5943af17e7deaa88b9c529b337557ef6aa0f4031 (diff) | |
download | nextcloud-server-630cee0ef29697c8cfef4c5816f599534706b350.tar.gz nextcloud-server-630cee0ef29697c8cfef4c5816f599534706b350.zip |
bookmarklets should not look like buttons
Diffstat (limited to 'apps/bookmarks')
-rw-r--r-- | apps/bookmarks/templates/bookmarklet.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/bookmarks/templates/bookmarklet.php b/apps/bookmarks/templates/bookmarklet.php index 3d8bbcc7b31..5ea67f04df2 100644 --- a/apps/bookmarks/templates/bookmarklet.php +++ b/apps/bookmarks/templates/bookmarklet.php @@ -3,6 +3,6 @@ function createBookmarklet() { $l = new OC_L10N('bookmarks'); echo '<small>' . $l->t('Drag this to your browser bookmarks and click it, when you want to bookmark a webpage quickly:') . '</small>' - . '<a class="button" href="javascript:(function(){var a=window,b=document,c=encodeURIComponent,d=a.open(\'' . OC_Helper::linkToAbsolute('bookmarks', 'addBm.php') . '?output=popup&url=\'+c(b.location),\'bkmk_popup\',\'left=\'+((a.screenX||a.screenLeft)+10)+\',top=\'+((a.screenY||a.screenTop)+10)+\',height=230px,width=230px,resizable=1,alwaysRaised=1\');a.setTimeout(function(){d.focus()},300);})();">' + . '<a class="bookmarklet" href="javascript:(function(){var a=window,b=document,c=encodeURIComponent,d=a.open(\'' . OC_Helper::linkToAbsolute('bookmarks', 'addBm.php') . '?output=popup&url=\'+c(b.location),\'bkmk_popup\',\'left=\'+((a.screenX||a.screenLeft)+10)+\',top=\'+((a.screenY||a.screenTop)+10)+\',height=230px,width=230px,resizable=1,alwaysRaised=1\');a.setTimeout(function(){d.focus()},300);})();">' . $l->t('Read later') . '</a>'; } |