GoalModelEditor/FrontEnd/public/js/dashboard.js
/**
 * Helper function to change style of folder-icon
 *
 * @param {HTMLElement} iconDiv
 */
Helper function to change style of folder-icon
@param {HTMLElement} iconDiv
Helper function to change style of folder - icon @param { HTMLElement } iconDiv
function changeFolderStyle(iconDiv) {
    if ($(iconDiv).html() === '<i class="far fa-folder"></i>') {
        $(iconDiv).html('<i class="far fa-folder-open"></i>');
    } else {
        $(iconDiv).html('<i class="far fa-folder"></i>');
    }
}
function changeFolderStyle ( iconDiv ) { if ( $ ( iconDiv ) . html ( ) === '<i class="far fa-folder"></i>' ) { $ ( iconDiv ) . html ( '<i class="far fa-folder-open"></i>' ) ; } else { $ ( iconDiv ) . html ( '<i class="far fa-folder"></i>' ) ; } }
Helper function to change style of folder-icon
 @param {HTMLElement} iconDiv
Helper function to change style of folder - icon @param { HTMLElement } iconDiv