bugfix, expand/collapse keyboard shortcut didn't work after stream-change
This commit is contained in:
parent
a13ccd7ca1
commit
8559bac6e2
|
@ -1551,6 +1551,7 @@ background-repeat: no-repeat;
|
|||
}
|
||||
.stream-item.expanded.selected-by-keyboard::before {
|
||||
height:100%;
|
||||
border-radius: 9px;
|
||||
}
|
||||
|
||||
.show-full-conversation {
|
||||
|
|
|
@ -510,7 +510,11 @@ function setNewCurrentStream(stream,actionOnSuccess,setLocation) {
|
|||
$(window).scrollTop(0);
|
||||
$('body').addClass('androidFix').scrollTop(0).removeClass('androidFix');
|
||||
|
||||
$('#feed-body').removeAttr('data-search-page-number'); // null any searches
|
||||
// blur any selected links
|
||||
$('a').blur();
|
||||
|
||||
// null any searches
|
||||
$('#feed-body').removeAttr('data-search-page-number');
|
||||
|
||||
// remember the most recent stream selection in global var
|
||||
window.currentStream = stream;
|
||||
|
|
Loading…
Reference in New Issue
Block a user