summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--client/components/main/layouts.styl1
-rw-r--r--client/components/users/userHeader.js2
-rw-r--r--models/users.js2
3 files changed, 2 insertions, 3 deletions
diff --git a/client/components/main/layouts.styl b/client/components/main/layouts.styl
index 13834644..38fd83ec 100644
--- a/client/components/main/layouts.styl
+++ b/client/components/main/layouts.styl
@@ -1,4 +1,3 @@
-
@import 'nib'
global-reset()
diff --git a/client/components/users/userHeader.js b/client/components/users/userHeader.js
index 65b7e8c3..98053ed1 100644
--- a/client/components/users/userHeader.js
+++ b/client/components/users/userHeader.js
@@ -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();
diff --git a/models/users.js b/models/users.js
index 278d069c..58513231 100644
--- a/models/users.js
+++ b/models/users.js
@@ -315,7 +315,7 @@ Meteor.methods({
changeLimitToShowCardsCount(limit) {
check(limit, Number);
Meteor.user().setShowCardsCountAt(limit);
- }
+ },
});
if (Meteor.isServer) {