|
@@ -5,8 +5,10 @@ $(document).ready(function () {
|
|
|
.hover(
|
|
|
function () { $(this).addClass('hover'); },
|
|
|
function () { $(this).removeClass('hover'); })
|
|
|
- .click(function () {
|
|
|
- $('#switcher button').toggleClass('hidden');
|
|
|
+ .click(function (event) {
|
|
|
+ if (event.target === this) {
|
|
|
+ $('#switcher button').toggleClass('hidden');
|
|
|
+ }
|
|
|
});
|
|
|
|
|
|
$('#switcher-default').addClass('selected');
|