diff --git a/public/src/client/account/posts.js b/public/src/client/account/posts.js index a4dbb619e1..a0c0a3e92f 100644 --- a/public/src/client/account/posts.js +++ b/public/src/client/account/posts.js @@ -45,7 +45,6 @@ define('forum/account/posts', ['forum/account/header', 'forum/infinitescroll', ' $('[component="posts"]').append(html); html.find('img:not(.not-responsive)').addClass('img-responsive'); html.find('.timeago').timeago(); - app.createUserTooltips(html); utils.makeNumbersHumanReadable(html.find('.human-readable-number')); hooks.fire('action:posts.loaded', { posts: posts }); callback(); diff --git a/public/src/client/account/topics.js b/public/src/client/account/topics.js index 0bebfdac2f..565bb9b170 100644 --- a/public/src/client/account/topics.js +++ b/public/src/client/account/topics.js @@ -46,7 +46,6 @@ define('forum/account/topics', [ app.parseAndTranslate(template, 'topics', { topics: topics }, function (html) { $('[component="category"]').append(html); html.find('.timeago').timeago(); - app.createUserTooltips(html); utils.makeNumbersHumanReadable(html.find('.human-readable-number')); hooks.fire('action:topics.loaded', { topics: topics }); callback(); diff --git a/public/src/client/categories.js b/public/src/client/categories.js index f07730278f..bbe3d7dab5 100644 --- a/public/src/client/categories.js +++ b/public/src/client/categories.js @@ -56,7 +56,6 @@ define('forum/categories', ['components', 'categorySelector', 'hooks'], function html.fadeIn(); - app.createUserTooltips(html); html.find('.timeago').timeago(); if (category.find('[component="category/posts"]').length > parseInt(numRecentReplies, 10)) { diff --git a/public/src/client/category.js b/public/src/client/category.js index e17f37c490..7a2a651368 100644 --- a/public/src/client/category.js +++ b/public/src/client/category.js @@ -105,7 +105,6 @@ define('forum/category', [ html.find('.timeago').timeago(); $('[component="category/subcategory/container"]').append(html); utils.makeNumbersHumanReadable(html.find('.human-readable-number')); - app.createUserTooltips(html); ajaxify.data.nextSubCategoryStart += ajaxify.data.subCategoriesPerPage; ajaxify.data.subCategoriesLeft -= data.length; btn.toggleClass('hidden', ajaxify.data.subCategoriesLeft <= 0) diff --git a/public/src/client/topic/posts.js b/public/src/client/topic/posts.js index 4e9e8501ae..ba48d05445 100644 --- a/public/src/client/topic/posts.js +++ b/public/src/client/topic/posts.js @@ -401,9 +401,6 @@ define('forum/topic/posts', [ Posts.onNewPostsAddedToDom = function (posts) { Posts.onTopicPageLoad(posts); - - app.createUserTooltips(posts); - utils.addCommasToNumbers(posts.find('.formatted-number')); utils.makeNumbersHumanReadable(posts.find('.human-readable-number')); posts.find('.timeago').timeago(); diff --git a/public/src/modules/chat.js b/public/src/modules/chat.js index 80f22a9b24..bc0fb68bde 100644 --- a/public/src/modules/chat.js +++ b/public/src/modules/chat.js @@ -93,7 +93,6 @@ define('chat', [ app.parseAndTranslate('partials/chats/dropdown', { rooms: rooms }, function (html) { chatsListEl.find('*').not('.navigation-link').remove(); chatsListEl.prepend(html); - app.createUserTooltips(chatsListEl, 'right'); chatsListEl.off('click').on('click', '[data-roomid]', function (ev) { if ($(ev.target).parents('.user-link').length) { return; diff --git a/public/src/modules/topicList.js b/public/src/modules/topicList.js index bf4532346e..8052826b1f 100644 --- a/public/src/modules/topicList.js +++ b/public/src/modules/topicList.js @@ -268,7 +268,6 @@ define('topicList', [ } html.find('.timeago').timeago(); - app.createUserTooltips(html); utils.makeNumbersHumanReadable(html.find('.human-readable-number')); hooks.fire('action:topics.loaded', { topics: topics, template: templateName }); callback();