mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-05-09 04:36:26 +02:00
remove deprecated method
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user