summaryrefslogtreecommitdiffstats
path: root/apps/bookmarks
diff options
context:
space:
mode:
authorAlessandro Cosentino <cosenal@gmail.com>2012-02-27 18:20:40 -0500
committerAlessandro Cosentino <cosenal@gmail.com>2012-02-27 18:20:40 -0500
commit630cee0ef29697c8cfef4c5816f599534706b350 (patch)
tree877d6e4d06e9f7d9f9e583cc89496d65618dd6b3 /apps/bookmarks
parent5943af17e7deaa88b9c529b337557ef6aa0f4031 (diff)
downloadnextcloud-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.php2
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>';
}