|
@@ -8,16 +8,6 @@ $(document).ready(function () {
|
|
|
});
|
|
|
});
|
|
|
|
|
|
-$(document).ready(function () {
|
|
|
- 'use strict';
|
|
|
-
|
|
|
- $('#switcher').click(function (event) {
|
|
|
- if (!$(event.target).is('button')) {
|
|
|
- $('#switcher button').toggleClass('hidden');
|
|
|
- }
|
|
|
- });
|
|
|
-});
|
|
|
-
|
|
|
$(document).ready(function () {
|
|
|
'use strict';
|
|
|
|
|
@@ -32,5 +22,8 @@ $(document).ready(function () {
|
|
|
$('#switcher button').removeClass('selected');
|
|
|
$(event.target).addClass('selected');
|
|
|
}
|
|
|
+ else {
|
|
|
+ $('#switcher button').toggleClass('hidden');
|
|
|
+ }
|
|
|
});
|
|
|
});
|