Fix issue in functions definition

This commit is contained in:
Pierre 2018-04-29 21:21:01 +02:00
parent 8bb4df9f40
commit 7887080073
2 changed files with 2 additions and 2 deletions

View File

@ -109,7 +109,7 @@ ComunicWeb.components.userSelect = {
* @param {array} usersID The ID of the users to push in select2 element
* @return {Boolean} True for a success
*/
pushEntries(inputSelect, usersID){
pushEntries: function(inputSelect, usersID){
//Get informations about the entries
getMultipleUsersInfos(usersID, function(usersInfos){

View File

@ -87,7 +87,7 @@ ComunicWeb.pages.userPage.posts = {
* @param {HTMLElement} target The target for the posts
* @param {function} callback What to do once the posts have been loaded
*/
_load_posts(userInfos, target, callback){
_load_posts: function(userInfos, target, callback){
//Get the posts from the API
ComunicWeb.components.posts.interface.get_user(userInfos.userID, this._last_post_id, function(result){