[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:
parent
10778b3c85
commit
c19b346dc7
|
@ -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() {
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue