diff --git a/client/components/activities/comments.js b/client/components/activities/comments.js index 8aafc2eba..c69ec383e 100644 --- a/client/components/activities/comments.js +++ b/client/components/activities/comments.js @@ -3,7 +3,7 @@ const commentFormIsOpen = new ReactiveVar(false); BlazeComponent.extendComponent({ onDestroyed() { commentFormIsOpen.set(false); - $(".note-popover").hide(); + $('.note-popover').hide(); }, commentFormIsOpen() { diff --git a/client/components/cards/cardDescription.js b/client/components/cards/cardDescription.js index 0b26d3ec0..d83735861 100644 --- a/client/components/cards/cardDescription.js +++ b/client/components/cards/cardDescription.js @@ -3,7 +3,7 @@ const descriptionFormIsOpen = new ReactiveVar(false); BlazeComponent.extendComponent({ onDestroyed() { descriptionFormIsOpen.set(false); - $(".note-popover").hide(); + $('.note-popover').hide(); }, descriptionFormIsOpen() { diff --git a/client/components/main/editor.js b/client/components/main/editor.js index 9bd688775..de914d8e0 100644 --- a/client/components/main/editor.js +++ b/client/components/main/editor.js @@ -49,7 +49,7 @@ Template.editor.onRendered(() => { ['para', ['ul', 'ol', 'paragraph']], ['table', ['table']], //['insert', ['link', 'picture', 'video']], // iframe tag will be sanitized TODO if iframe[class=note-video-clip] can be added into safe list, insert video can be enabled - ['insert', ['link']],//, 'picture']], // modal popup has issue somehow :( + ['insert', ['link']], //, 'picture']], // modal popup has issue somehow :( ['view', ['fullscreen', 'help']], ]; const cleanPastedHTML = function(input) { @@ -247,9 +247,7 @@ Template.editor.onRendered(() => { ['float', ['floatLeft', 'floatRight', 'floatNone']], ['remove', ['removeMedia']], ], - link: [ - ['link', ['linkDialogShow', 'unlink']] - ], + link: [['link', ['linkDialogShow', 'unlink']]], table: [ ['add', ['addRowDown', 'addRowUp', 'addColLeft', 'addColRight']], ['delete', ['deleteRow', 'deleteCol', 'deleteTable']], diff --git a/client/components/main/layouts.js b/client/components/main/layouts.js index a43a49d6c..eac3c7e6d 100644 --- a/client/components/main/layouts.js +++ b/client/components/main/layouts.js @@ -77,6 +77,8 @@ Template.userFormsLayout.helpers({ } else if (lang.name === 'ar-EG') { // ar-EG = Arabic (Egypt), simply Masri (مَصرى, [ˈmɑsˤɾi], Egyptian, Masr refers to Cairo) name = 'مَصرى'; + } else if (lang.name === 'de-CH') { + name = 'Schwiizerdütsch'; } else if (lang.name === 'fa-IR') { // fa-IR = Persian (Iran) name = 'فارسی/پارسی (ایران‎)'; diff --git a/client/components/users/userHeader.js b/client/components/users/userHeader.js index 7b484bc48..447baf496 100644 --- a/client/components/users/userHeader.js +++ b/client/components/users/userHeader.js @@ -174,6 +174,8 @@ Template.changeLanguagePopup.helpers({ } else if (lang.name === 'fa-IR') { // fa-IR = Persian (Iran) name = 'فارسی/پارسی (ایران‎)'; + } else if (lang.name === 'de-CH') { + name = 'Schwiizerdütsch'; } else if (lang.name === 'fr-BE') { name = 'Français (Belgique)'; } else if (lang.name === 'fr-CA') {