Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/notifications.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2016-08-15 12:16:01 +0300
committerJoas Schilling <coding@schilljs.com>2016-08-15 12:16:01 +0300
commit8e5c035dbaa641f43f9a4ed506985302d66185c9 (patch)
treefca631048c75f1868fb2e3b089bc78a481383d19 /js/notification.js
parent946ff937f9e85041da04decd31e46622be375a04 (diff)
Always pull right like in the client
Diffstat (limited to 'js/notification.js')
-rw-r--r--js/notification.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/notification.js b/js/notification.js
index 8a8e8cb..6e5bc01 100644
--- a/js/notification.js
+++ b/js/notification.js
@@ -124,7 +124,7 @@
_.each(actionsData, function(actionData) {
// FIXME: use handlebars template
actions.append(
- '<button class="action-button' + (actionData.primary ? ' primary pull-right': '') + '" data-type="' + escapeHTML(actionData.type) + '" ' +
+ '<button class="action-button pull-right' + (actionData.primary ? ' primary': '') + '" data-type="' + escapeHTML(actionData.type) + '" ' +
'data-href="'+escapeHTML(actionData.link)+'">'+escapeHTML(actionData.label)+'</button>'
);
// TODO create event handler on click for given action type