Skip to content

Node.js based forum software built for the modern web

remove deprecated method

Barış Soner Uşaklıa1e933537b48
diff --git a/public/src/modules/navigator.js b/public/src/modules/navigator.js
index 87dcc38944..05ada15e81 100644
--- a/public/src/modules/navigator.js
+++ b/public/src/modules/navigator.js
@@ -244,11 +244,6 @@ define('navigator', ['forum/pagination', 'components'], function (pagination, co
}
};
- navigator.scrollToPost = function (index, highlight, duration) {
- console.log('[navigator.scrollToPost] deprecated please use, navigator.scrollToIndex');
- navigator.scrollToIndex(index, highlight, duration);
- };
-
navigator.scrollToIndex = function (index, highlight, duration) {
var inTopic = !!components.get('topic').length;
var inCategory = !!components.get('category').length;