Add !important to the tablesorter indicator.
authorDerk-Jan Hartman <hartman@users.mediawiki.org>
Sat, 8 Oct 2011 12:59:36 +0000 (12:59 +0000)
committerDerk-Jan Hartman <hartman@users.mediawiki.org>
Sat, 8 Oct 2011 12:59:36 +0000 (12:59 +0000)
Otherwise it is too easy to do <th style="background:red"> and kill the entire indicator.
Fixes bug 31196 and follow up to r98665

resources/jquery/jquery.tablesorter.css

index a88acc0..8771981 100644 (file)
@@ -1,17 +1,17 @@
 /* Table Sorting */
 table.jquery-tablesorter th.headerSort {
        /* @embed */
-       background-image: url(images/sort_both.gif);
+       background-image: url(images/sort_both.gif) !important;
        cursor: pointer;
-       background-repeat: no-repeat;
-       background-position: center right;
-       padding-right: 21px;
+       background-repeat: no-repeat !important;
+       background-position: center right !important;
+       padding-right: 21px !important;
 }
 table.jquery-tablesorter th.headerSortUp {
        /* @embed */
-       background-image: url(images/sort_up.gif);
+       background-image: url(images/sort_up.gif) !important;
 }
 table.jquery-tablesorter th.headerSortDown {
        /* @embed */
-       background-image: url(images/sort_down.gif);
+       background-image: url(images/sort_down.gif) !important;
 }