mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-27 18:52:07 +08:00
Rename button load more system notification to fix the bug
This commit is contained in:
parent
3c0b1984d0
commit
bf2e9e8194
3 changed files with 3 additions and 3 deletions
|
@ -33,7 +33,7 @@ function bindSystemNotificationAjax() {
|
|||
}
|
||||
|
||||
function initSystemNotificationsButton() {
|
||||
$('.btn-more-notifications')
|
||||
$('.btn-more-system-notifications')
|
||||
.on('ajax:success', function(e, data) {
|
||||
$(data.html).insertAfter($('.system-notifications-container .system-notification').last());
|
||||
bindSystemNotificationAjax();
|
||||
|
|
|
@ -116,7 +116,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
.btn-more-notifications {
|
||||
.btn-more-system-notifications {
|
||||
margin-top: 10px;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
</div>
|
||||
<div class="text-center">
|
||||
<% if @system_notifications[:more_notifications_url] && @system_notifications[:notifications].present? %>
|
||||
<a class="btn btn-default btn-more-notifications"
|
||||
<a class="btn btn-default btn-more-system-notifications"
|
||||
href="<%= @system_notifications[:more_notifications_url] %>"
|
||||
data-remote="true">
|
||||
<%= t("system_notifications.index.more_notifications") %></a>
|
||||
|
|
Loading…
Reference in a new issue