mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-10 23:25:31 +08:00
Checkbox now gets styled properly and defaults to true
This commit is contained in:
parent
beb1d02914
commit
9a482eab2e
2 changed files with 2 additions and 4 deletions
|
@ -71,7 +71,8 @@
|
|||
// Setup notification checkbox buttons
|
||||
function notificationsSettings() {
|
||||
var notification_settings = [ "recent_notification",
|
||||
"assignments_notification" ]
|
||||
"assignments_notification",
|
||||
"popover_v2_toggle" ]
|
||||
|
||||
for (var i = 0; i < notification_settings.length; i++ ) {
|
||||
var setting = $('[name="' + notification_settings[i] + '"]');
|
||||
|
|
|
@ -150,9 +150,6 @@
|
|||
</div>
|
||||
<div class="col-sm-8">
|
||||
<%= check_box_tag :popover_v2_toggle, @user.popover_v2_toggle %>
|
||||
<div class="btn-group">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Reference in a new issue