File tree Expand file tree Collapse file tree 9 files changed +65
-11
lines changed Expand file tree Collapse file tree 9 files changed +65
-11
lines changed Original file line number Diff line number Diff line change @@ -987,9 +987,15 @@ <h4 class="card-title">Employees Stats</h4>
987
987
$ ( document ) . ready ( function ( ) {
988
988
// Javascript method's body can be found in assets/js/demos.js
989
989
md . initDashboardPageCharts ( ) ;
990
+ if ( window_width > 767 ) {
991
+ if ( $ ( '.fixed-plugin .dropdown' ) . hasClass ( 'show-dropdown' ) ) {
992
+ $ ( '.fixed-plugin .dropdown' ) . addClass ( 'show' ) ;
993
+ $ ( '.fixed-plugin .dropdown-menu' ) . addClass ( 'show' ) ;
994
+ }
995
+ }
990
996
991
997
} ) ;
992
998
</ script >
993
999
</ body >
994
1000
995
- </ html >
1001
+ </ html >
Original file line number Diff line number Diff line change @@ -464,6 +464,12 @@ <h5>The icons are visible on Desktop mode inside an iframe. Since the iframe is
464
464
window_width = $ ( window ) . width ( ) ;
465
465
466
466
fixed_plugin_open = $ ( '.sidebar .sidebar-wrapper .nav li.active a p' ) . html ( ) ;
467
+ if ( window_width > 767 ) {
468
+ if ( $ ( '.fixed-plugin .dropdown' ) . hasClass ( 'show-dropdown' ) ) {
469
+ $ ( '.fixed-plugin .dropdown' ) . addClass ( 'show' ) ;
470
+ $ ( '.fixed-plugin .dropdown-menu' ) . addClass ( 'show' ) ;
471
+ }
472
+ }
467
473
468
474
// if( window_width > 767 && fixed_plugin_open == 'Dashboard' ){
469
475
// if($('.fixed-plugin .dropdown').hasClass('show-dropdown')){
@@ -600,4 +606,4 @@ <h5>The icons are visible on Desktop mode inside an iframe. Since the iframe is
600
606
</ script >
601
607
</ body >
602
608
603
- </ html >
609
+ </ html >
Original file line number Diff line number Diff line change 538
538
$ ( document ) . ready ( function ( ) {
539
539
// Javascript method's body can be found in assets/js/demos.js
540
540
demo . initGoogleMaps ( ) ;
541
+ if ( window_width > 767 ) {
542
+ if ( $ ( '.fixed-plugin .dropdown' ) . hasClass ( 'show-dropdown' ) ) {
543
+ $ ( '.fixed-plugin .dropdown' ) . addClass ( 'show' ) ;
544
+ $ ( '.fixed-plugin .dropdown-menu' ) . addClass ( 'show' ) ;
545
+ }
546
+ }
541
547
} ) ;
542
548
</ script >
543
549
</ body >
544
550
545
- </ html >
551
+ </ html >
Original file line number Diff line number Diff line change @@ -693,10 +693,15 @@ <h4 class="card-title">
693
693
</ script >
694
694
< script >
695
695
$ ( document ) . ready ( function ( ) {
696
- //init DateTimePickers
697
- md . initFormExtendedDatetimepickers ( ) ;
696
+ if ( window_width > 767 ) {
697
+ if ( $ ( '.fixed-plugin .dropdown' ) . hasClass ( 'show-dropdown' ) ) {
698
+ $ ( '.fixed-plugin .dropdown' ) . addClass ( 'show' ) ;
699
+ $ ( '.fixed-plugin .dropdown-menu' ) . addClass ( 'show' ) ;
700
+ }
701
+ }
702
+
698
703
} ) ;
699
704
</ script >
700
705
</ body >
701
706
702
- </ html >
707
+ </ html >
Original file line number Diff line number Diff line change @@ -842,8 +842,16 @@ <h4 class="card-title mt-0"> Table on Plain Background</h4>
842
842
} , 1000 ) ;
843
843
} ) ;
844
844
} ) ;
845
+ if ( window_width > 767 ) {
846
+ if ( $ ( '.fixed-plugin .dropdown' ) . hasClass ( 'show-dropdown' ) ) {
847
+ $ ( '.fixed-plugin .dropdown' ) . addClass ( 'show' ) ;
848
+ $ ( '.fixed-plugin .dropdown-menu' ) . addClass ( 'show' ) ;
849
+ }
850
+ }
845
851
} ) ;
852
+
853
+
846
854
</ script >
847
855
</ body >
848
856
849
- </ html >
857
+ </ html >
Original file line number Diff line number Diff line change @@ -665,8 +665,15 @@ <h2>
665
665
} , 1000 ) ;
666
666
} ) ;
667
667
} ) ;
668
+
669
+ if ( window_width > 767 ) {
670
+ if ( $ ( '.fixed-plugin .dropdown' ) . hasClass ( 'show-dropdown' ) ) {
671
+ $ ( '.fixed-plugin .dropdown' ) . addClass ( 'show' ) ;
672
+ $ ( '.fixed-plugin .dropdown-menu' ) . addClass ( 'show' ) ;
673
+ }
674
+ }
668
675
} ) ;
669
676
</ script >
670
677
</ body >
671
678
672
- </ html >
679
+ </ html >
Original file line number Diff line number Diff line change @@ -644,8 +644,16 @@ <h4 class="card-title">Material Dashboard PRO</h4>
644
644
} , 1000 ) ;
645
645
} ) ;
646
646
} ) ;
647
+ if ( window_width > 767 ) {
648
+ if ( $ ( '.fixed-plugin .dropdown' ) . hasClass ( 'show-dropdown' ) ) {
649
+ $ ( '.fixed-plugin .dropdown' ) . addClass ( 'show' ) ;
650
+ $ ( '.fixed-plugin .dropdown-menu' ) . addClass ( 'show' ) ;
651
+ }
652
+ }
647
653
} ) ;
654
+
655
+
648
656
</ script >
649
657
</ body >
650
658
651
- </ html >
659
+ </ html >
Original file line number Diff line number Diff line change @@ -676,8 +676,16 @@ <h4 class="card-title">Alec Thompson</h4>
676
676
} , 1000 ) ;
677
677
} ) ;
678
678
} ) ;
679
+ if ( window_width > 767 ) {
680
+ if ( $ ( '.fixed-plugin .dropdown' ) . hasClass ( 'show-dropdown' ) ) {
681
+ $ ( '.fixed-plugin .dropdown' ) . addClass ( 'show' ) ;
682
+ $ ( '.fixed-plugin .dropdown-menu' ) . addClass ( 'show' ) ;
683
+ }
684
+ }
679
685
} ) ;
686
+
687
+
680
688
</ script >
681
689
</ body >
682
690
683
- </ html >
691
+ </ html >
Original file line number Diff line number Diff line change @@ -400,7 +400,7 @@ <h3>Thank you for supporting us!</h3>
400
400
</ div >
401
401
< footer class ="footer ">
402
402
< div class ="container ">
403
- < a class ="footer-brand " href ="https://www .creative-tim.com "> Material Dashboard</ a >
403
+ < a class ="footer-brand " href ="https://demos .creative-tim.com/material-dashboard/examples/dashboard.html "> Material Dashboard</ a >
404
404
< ul class ="pull-center ">
405
405
< li >
406
406
< a href ="https://www.creative-tim.com/ " target ="_blank ">
You can’t perform that action at this time.
0 commit comments