Fix direct link to feed

This commit is contained in:
2026-01-16 23:56:46 +01:00
parent 051503cbed
commit e70d3ddbd3

View File

@@ -78,9 +78,8 @@ export default {
if(sNewBaseMap) this.map.setLayoutProperty(sNewBaseMap, 'visibility', 'visible');
},
currProjectCodeName(sNewCodeName, sOldCodeName) {
//console.log('change in currProjectCodeName: '+sNewCodeName);
//this.toggleSettingsPanel(false);
this.$parent.setHash(this.$parent.hash.page, [sNewCodeName]);
if(this.$parent.hash.items.length==0) this.$parent.setHash(this.$parent.hash.page, [sNewCodeName]);
this.init();
}
},
@@ -401,7 +400,7 @@ export default {
return true;
},
onFeedScroll(oEvent) {
//FIXME remvove jquery dependency
//FIXME remove jquery dependency
var $Box = $(oEvent.currentTarget);
var $BoxContent = $Box.find('.simplebar-content');
if(($Box.scrollTop() + $(window).height()) / $BoxContent.height() >= 0.8) this.getNextFeed();