[Library|Trunk]

Fixing menu drop down issue: couldn't open again after clicking a link inside the dropdown (had to move the pointer away first)



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60204 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
argiro.kokogiannaki 2021-01-11 11:30:53 +00:00
parent 10778b3c85
commit c19b346dc7
2 changed files with 3 additions and 2 deletions

View File

@ -262,7 +262,7 @@ export class UserMiniComponent implements OnInit, OnChanges {
onClick(id: string) { onClick(id: string) {
let el: HTMLElement = document.getElementById(id); let el: HTMLElement = document.getElementById(id);
el.classList.remove('uk-open'); el.setAttribute('uk-toggle', 'true');
} }
parseName() { parseName() {

View File

@ -123,7 +123,8 @@ export class NavigationBarComponent implements OnInit, OnDestroy{
onClick(id: string) { onClick(id: string) {
var el: HTMLElement = document.getElementById(id); var el: HTMLElement = document.getElementById(id);
el.classList.remove('uk-open'); // el.classList.remove('uk-open');
el.setAttribute('uk-toggle', 'true');
} }
isEnabled(required, enabled) { isEnabled(required, enabled) {