summaryrefslogtreecommitdiffstats
path: root/client/components
diff options
context:
space:
mode:
Diffstat (limited to 'client/components')
-rw-r--r--client/components/main/layouts.styl2
-rw-r--r--client/components/settings/invitationCode.js4
2 files changed, 3 insertions, 3 deletions
diff --git a/client/components/main/layouts.styl b/client/components/main/layouts.styl
index 1bc92b42..349ee743 100644
--- a/client/components/main/layouts.styl
+++ b/client/components/main/layouts.styl
@@ -3,7 +3,7 @@
global-reset()
html, body, input, select, textarea, button
- font: 14px Roboto, "Helvetica Neue", Arial, Helvetica, "Yu Gothic", "Meiryo", sans-serif
+ font: 14px Roboto, "Helvetica Neue", Arial, Helvetica, sans-serif
line-height: 18px
color: #4d4d4d
diff --git a/client/components/settings/invitationCode.js b/client/components/settings/invitationCode.js
index e712c89a..a403d8ab 100644
--- a/client/components/settings/invitationCode.js
+++ b/client/components/settings/invitationCode.js
@@ -1,6 +1,6 @@
Template.invitationCode.onRendered(() => {
- const disableRegistration = Settings.findOne().disableRegistration;
- if(!disableRegistration){
+ const setting = Settings.findOne();
+ if (!setting || !setting.disableRegistration) {
$('#invitationcode').hide();
}
});