]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/frio/js/mod_group.js
Merge pull request #6589 from rabuzarus/20190204_-_show_forum_account_in_vcard
[friendica.git] / view / theme / frio / js / mod_group.js
index e6d73809e098a7845de08ca124942dce081e277f..bc513aca9ea00842c97ec5883b42d83d79c98e47 100644 (file)
@@ -5,9 +5,9 @@
  */
 
 
-$(document).ready(function(){
+$(document).ready(function() {
        // Add an event listeners on buttons for switching the contact list view
-       $("body").on("click", ".group-list-switcher", function(){
+       $("body").on("click", ".group-list-switcher", function() {
                switchGroupViewMode(this);
        });
 });
@@ -15,11 +15,11 @@ $(document).ready(function(){
 /**
  * @brief Change the group membership of the contacts and fetch the new grup list
  * as html
- * 
+ *
  * @param {int} gid The group ID
  * @param {int} cid The contact ID
  * @param {string} sec_token The security token
- * 
+ *
  * @returns {undefined}
  */
 function groupChangeMember(gid, cid, sec_token) {
@@ -42,7 +42,7 @@ function groupChangeMember(gid, cid, sec_token) {
 
 /**
  * @brief Change the group list view mode
- * 
+ *
  * @param {object} elm The button element of the view mode switcher
  * @returns {undefined}
  */
@@ -53,7 +53,7 @@ function switchGroupViewMode(elm) {
                $(elm).addClass("active");
 
                // Add or remove the css classes for the group list with regard to the active view mode
-               if (elm.id === "group-list-small") {                    
+               if (elm.id === "group-list-small") {
                        $("#contact-group-list > li").addClass("shortmode col-lg-6 col-md-6 col-sm-6 col-xs-12");
                } else {
                        $("#contact-group-list > li").removeClass("shortmode col-lg-6 col-md-6 col-sm-6 col-xs-12");
@@ -62,7 +62,7 @@ function switchGroupViewMode(elm) {
 
 /**
  * @brief Filter the group member list for contacts
- * 
+ *
  * @returns {undefined}
  */
 function filterList() {