diff --git a/app/assets/javascripts/matches.js.coffee b/app/assets/javascripts/matches.js.coffee index 1001aa86..a975d3fb 100644 --- a/app/assets/javascripts/matches.js.coffee +++ b/app/assets/javascripts/matches.js.coffee @@ -9,10 +9,10 @@ $ -> $(@).find("option[value='#{value}']").removeAttr('disabled') if $(".no_mobile:visible").length > 0 - $(".no_mobile input").attr("disabled","disabled") + $(".only_mobile input").attr("disabled","disabled") if $(".only_mobile:visible").length > 0 - $(".only_mobile input").attr("disabled","disabled") + $(".no_mobile input").attr("disabled","disabled") $(".picture_selector").click -> $team = $(@).closest(".team_members") diff --git a/app/assets/stylesheets/mobile.css.sass b/app/assets/stylesheets/mobile.css.sass index ee978c74..c22c57b0 100644 --- a/app/assets/stylesheets/mobile.css.sass +++ b/app/assets/stylesheets/mobile.css.sass @@ -1,5 +1,5 @@ .only_mobile - display: none + display: none !important @media screen and (max-width: 980px) .sidebar