remove deprecated method

This commit is contained in:
Barış Soner Uşaklı
2018-06-03 15:04:25 -04:00
parent 45cc30a91b
commit a1e933537b

View File

@@ -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;