Make link in search clickable everywhere
This commit is contained in:
parent
a6adf2c3df
commit
6b90f05d68
@ -483,7 +483,7 @@ export default class AppSearchSuper {
|
||||
attachClickEvent(this.tabs.inputMessagesFilterPhotoVideo, onMediaClick.bind(null, 'grid-item', 'grid-item', 'inputMessagesFilterPhotoVideo'));
|
||||
attachClickEvent(this.tabs.inputMessagesFilterDocument, onMediaClick.bind(null, 'document-with-thumb', 'media-container', 'inputMessagesFilterDocument'));
|
||||
|
||||
attachClickEvent(this.tabs.inputMessagesFilterUrl, (e) => {
|
||||
/* attachClickEvent(this.tabs.inputMessagesFilterUrl, (e) => {
|
||||
const target = e.target as HTMLElement;
|
||||
if(target.tagName === 'A') {
|
||||
return;
|
||||
@ -493,7 +493,7 @@ export default class AppSearchSuper {
|
||||
const a = findUpClassName(target, 'row').querySelector('.anchor-url:last-child') as HTMLAnchorElement;
|
||||
a.click();
|
||||
} catch(err) {}
|
||||
});
|
||||
}); */
|
||||
|
||||
this.mediaTab = this.mediaTabs[0];
|
||||
|
||||
|
@ -478,7 +478,14 @@
|
||||
}
|
||||
}
|
||||
|
||||
/* .anchor-url {
|
||||
a:not(:last-child) {
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.anchor-url:last-child {
|
||||
position: unset;
|
||||
|
||||
&:before {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
@ -487,8 +494,9 @@
|
||||
left: 0;
|
||||
content: " ";
|
||||
cursor: pointer;
|
||||
z-index: 1;
|
||||
}
|
||||
} */
|
||||
}
|
||||
|
||||
.media-photo {
|
||||
object-fit: cover;
|
||||
|
Loading…
Reference in New Issue
Block a user