X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Ffrio%2Fjs%2Fmod_group.js;h=bc513aca9ea00842c97ec5883b42d83d79c98e47;hb=cf9a65cded8e8f270aedbb3ba46d5fe2fe351b4c;hp=e6d73809e098a7845de08ca124942dce081e277f;hpb=53fbd7e7c3c69fd38ba9451c044eeed6ad2cd021;p=friendica.git diff --git a/view/theme/frio/js/mod_group.js b/view/theme/frio/js/mod_group.js index e6d73809e0..bc513aca9e 100644 --- a/view/theme/frio/js/mod_group.js +++ b/view/theme/frio/js/mod_group.js @@ -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() {