Fixed the dropdown not working on iOS in the settings #1615

pull/1634/head
tidusjar 7 years ago
parent 168c51c293
commit 80ea579292

@ -3,7 +3,7 @@
<li [routerLinkActive]="['active']"><a [routerLink]="['/Settings/Ombi']">Ombi</a></li> <li [routerLinkActive]="['active']"><a [routerLink]="['/Settings/Ombi']">Ombi</a></li>
<li class="dropdown" [routerLinkActive]="['active']"> <li class="dropdown" [routerLinkActive]="['active']">
<a class="dropdown-toggle" data-toggle="dropdown"> <a href="ignore($event)" class="dropdown-toggle" data-toggle="dropdown">
<i class="fa fa-cogs" aria-hidden="true"></i> Configuration <span class="caret"></span> <i class="fa fa-cogs" aria-hidden="true"></i> Configuration <span class="caret"></span>
</a> </a>
<ul class="dropdown-menu"> <ul class="dropdown-menu">
@ -14,7 +14,7 @@
</li> </li>
<li class="dropdown" [routerLinkActive]="['active']"> <li class="dropdown" [routerLinkActive]="['active']">
<a class="dropdown-toggle" data-toggle="dropdown"> <a href="ignore($event)" class="dropdown-toggle" data-toggle="dropdown">
<i class="fa fa-server" aria-hidden="true"></i> Media Server <span class="caret"></span> <i class="fa fa-server" aria-hidden="true"></i> Media Server <span class="caret"></span>
</a> </a>
<ul class="dropdown-menu"> <ul class="dropdown-menu">
@ -24,7 +24,7 @@
</li> </li>
<li class="dropdown" [routerLinkActive]="['active']"> <li class="dropdown" [routerLinkActive]="['active']">
<a class="dropdown-toggle" data-toggle="dropdown"> <a href="ignore($event)" class="dropdown-toggle" data-toggle="dropdown">
<i class="fa fa-television" aria-hidden="true"></i> TV <span class="caret"></span> <i class="fa fa-television" aria-hidden="true"></i> TV <span class="caret"></span>
</a> </a>
<ul class="dropdown-menu"> <ul class="dropdown-menu">
@ -36,7 +36,7 @@
</li> </li>
<li class="dropdown" [routerLinkActive]="['active']"> <li class="dropdown" [routerLinkActive]="['active']">
<a class="dropdown-toggle" data-toggle="dropdown"> <a href="ignore($event)" class="dropdown-toggle" data-toggle="dropdown">
<i class="fa fa-film" aria-hidden="true"></i> Movies <span class="caret"></span> <i class="fa fa-film" aria-hidden="true"></i> Movies <span class="caret"></span>
</a> </a>
<ul class="dropdown-menu"> <ul class="dropdown-menu">
@ -50,7 +50,7 @@
<li class="dropdown" [routerLinkActive]="['active']"> <li class="dropdown" [routerLinkActive]="['active']">
<a class="dropdown-toggle" data-toggle="dropdown"> <a href="ignore($event)" class="dropdown-toggle" data-toggle="dropdown">
<i class="fa fa-bell-o" aria-hidden="true"></i> Notifications <span class="caret"></span> <i class="fa fa-bell-o" aria-hidden="true"></i> Notifications <span class="caret"></span>
</a> </a>
<ul class="dropdown-menu"> <ul class="dropdown-menu">
@ -66,7 +66,7 @@
<li class="dropdown" [routerLinkActive]="['active']"> <li class="dropdown" [routerLinkActive]="['active']">
<a class="dropdown-toggle" data-toggle="dropdown"> <a href="ignore($event)" class="dropdown-toggle" data-toggle="dropdown">
<i class="fa fa-tachometer" aria-hidden="true"></i> System <span class="caret"></span> <i class="fa fa-tachometer" aria-hidden="true"></i> System <span class="caret"></span>
</a> </a>
<ul class="dropdown-menu"> <ul class="dropdown-menu">

@ -3,4 +3,8 @@
selector: "settings-menu", selector: "settings-menu",
templateUrl: "./settingsmenu.component.html", templateUrl: "./settingsmenu.component.html",
}) })
export class SettingsMenuComponent { } export class SettingsMenuComponent {
public ignore(event: any): void {
event.preventDefault();
}
}

@ -3,7 +3,7 @@
"windowsAuthentication": false, "windowsAuthentication": false,
"anonymousAuthentication": true, "anonymousAuthentication": true,
"iisExpress": { "iisExpress": {
"applicationUrl": "http://localhost:52038/", "applicationUrl": "http://localhost:5000/",
"sslPort": 0 "sslPort": 0
} }
}, },

Loading…
Cancel
Save