diff --git a/NzbDrone.Web/Content/NzbDrone.css b/NzbDrone.Web/Content/NzbDrone.css index 87c8eb85c..70779afd1 100644 --- a/NzbDrone.Web/Content/NzbDrone.css +++ b/NzbDrone.Web/Content/NzbDrone.css @@ -281,48 +281,49 @@ button span, input[type="button"] span, input[type="submit"] span, input[type="r } .seriesTable - { - width: 100%; - border-width: 1px; - border-spacing: 2px; - border-style: none; - border-color: white; - border-collapse: collapse; - } +{ + width: 100%; + border-width: 1px; + border-spacing: 2px; + border-style: none; + border-color: white; + border-collapse: collapse; +} - .seriesTable th - { - font-family: "Segoe UI Light" , "Open Sans" , "Segoe UI" , sans-serif; - border-width: 300; - font-size: 17px; - padding: 2px; - border-style: inset; - border-color: #EEEEEE; - padding-left: 7px; - text-align: left; - background-color: white; - font-weight: lighter; - } +.seriesTable th +{ + font-family: "Segoe UI Light" , "Open Sans" , "Segoe UI" , sans-serif; + border-width: 300; + font-size: 17px; + padding: 2px; + border-style: none; + border-color: #EEEEEE; + padding-left: 7px; + text-align: left; + background-color: white; + font-weight: lighter; +} + +.seriesTable td +{ + border-width: 1px; + padding: 0px 8px 0px 8px; + border-style: inset; + border-color: #EEEEEE; +} - .seriesTable td - { - border-width: 1px; - padding: 0px 8px 0px 8px; - border-style: inset; - border-color: #EEEEEE; - } +.detail-view +{ + display: none; +} - .detail-view - { - display: none; - } +/* Colour alternating rows */ +.seriesTable tr:nth-child(4n) +{ + background: #f0f5ff; +} - /* Colour alternating rows */ - .seriesTable tr:nth-child(4n) - { - background: #f0f5ff; - } - .seriesTable tr:nth-child(4n+1) - { - background: #f0f5ff; - } \ No newline at end of file +.seriesTable tr:nth-child(4n+1) +{ + background: #f0f5ff; +} \ No newline at end of file diff --git a/NzbDrone.Web/Scripts/NzbDrone/grid.js b/NzbDrone.Web/Scripts/NzbDrone/grid.js index 6224ec9d5..2a20da4e8 100644 --- a/NzbDrone.Web/Scripts/NzbDrone/grid.js +++ b/NzbDrone.Web/Scripts/NzbDrone/grid.js @@ -1,8 +1,9 @@ /* Click on row, show details */ -$('.seriesTable a').live('click', function () { +$('.seriesTable a').live('click', function (event) { + event.preventDefault(); var link = $(this).attr('href'); window.location = link; - event.preventDefault(); + event.stopPropegation(); }); $('.seriesTable tr td:not(:last-child)').live('click', function () {