mirror of
https://github.com/wekan/wekan.git
synced 2025-04-20 12:07:11 -04:00
fixed few overseights
This commit is contained in:
parent
606dbbbbf2
commit
35778d2673
3 changed files with 2 additions and 3 deletions
|
@ -1,4 +1,3 @@
|
|||
|
||||
@import 'nib'
|
||||
|
||||
global-reset()
|
||||
|
|
|
@ -106,7 +106,7 @@ Template.changeSettingsPopup.events({
|
|||
},
|
||||
'click .js-apply-show-cards-at'(evt, tpl) {
|
||||
evt.preventDefault();
|
||||
const minLimit = parseInt(tpl.$('#show-cards-count-at').val());
|
||||
const minLimit = parseInt(tpl.$('#show-cards-count-at').val(), 10);
|
||||
if (!isNaN(minLimit)) {
|
||||
Meteor.call('changeLimitToShowCardsCount', minLimit);
|
||||
Popup.back();
|
||||
|
|
|
@ -315,7 +315,7 @@ Meteor.methods({
|
|||
changeLimitToShowCardsCount(limit) {
|
||||
check(limit, Number);
|
||||
Meteor.user().setShowCardsCountAt(limit);
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
if (Meteor.isServer) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue