mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-20 03:16:12 +00:00
dashboard/widgets, fix tab behaviour in ipsec widget, since d2a8576375 broke it.
This commit is contained in:
parent
e8b7818df2
commit
d2d9a0dfbd
@ -76,8 +76,8 @@ if (isset($config['ipsec']['phase1'])) {
|
||||
if (isset($config['ipsec']['phase2'])) {
|
||||
?>
|
||||
<script>
|
||||
$(window).load(function() {
|
||||
$(".ipsec-tab").click(function(){
|
||||
$(document).ready(function() {
|
||||
$(".ipsec-tab").unbind('click').click(function(){
|
||||
$(".ipsec-tab").css('background-color', '#777777');
|
||||
$(".ipsec-tab").css('color', 'white');
|
||||
$(this).css('background-color', '#EEEEEE');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user