mirror of
https://github.com/Mottie/tablesorter.git
synced 2025-01-12 15:24:21 +00:00
UITheme: jQuery v1.12.0 renamed carat to caret. Fixes #1257
This commit is contained in:
parent
acd956ef37
commit
eef60dc4af
@ -4816,19 +4816,26 @@ $('table').trigger('search', false);</pre></div>
|
|||||||
$.extend($.tablesorter.themes.jui, {
|
$.extend($.tablesorter.themes.jui, {
|
||||||
// change default jQuery uitheme icons - find the full list of icons
|
// change default jQuery uitheme icons - find the full list of icons
|
||||||
// here: http://jqueryui.com/themeroller/ (hover over them for their name)
|
// here: http://jqueryui.com/themeroller/ (hover over them for their name)
|
||||||
table : 'ui-widget ui-widget-content ui-corner-all', // table classes
|
table : 'ui-widget ui-widget-content ui-corner-all', // table classes
|
||||||
header : 'ui-widget-header ui-corner-all ui-state-default', // header classes
|
caption : 'ui-widget-content',
|
||||||
footerRow : '',
|
// header class names
|
||||||
footerCells: '',
|
header : 'ui-widget-header ui-corner-all ui-state-default', // header classes
|
||||||
icons : 'ui-icon', // icon class added to the <i> in the header
|
sortNone : '',
|
||||||
sortNone : 'ui-icon-carat-2-n-s',
|
sortAsc : '',
|
||||||
sortAsc : 'ui-icon-carat-1-n',
|
sortDesc : '',
|
||||||
sortDesc : 'ui-icon-carat-1-s',
|
active : 'ui-state-active', // applied when column is sorted
|
||||||
active : 'ui-state-active', // applied when column is sorted
|
hover : 'ui-state-hover', // hover class
|
||||||
hover : 'ui-state-hover', // hover class
|
// icon class names
|
||||||
filterRow : '',
|
icons : 'ui-icon', // icon class added to the <i> in the header
|
||||||
even : 'ui-widget-content', // even row zebra striping
|
iconSortNone : 'ui-icon-carat-2-n-s ui-icon-caret-2-n-s', // "caret" class renamed in jQuery v1.12.0
|
||||||
odd : 'ui-state-default' // odd row zebra striping
|
iconSortAsc : 'ui-icon-carat-1-n ui-icon-caret-1-n',
|
||||||
|
iconSortDesc : 'ui-icon-carat-1-s ui-icon-caret-1-s',
|
||||||
|
// other
|
||||||
|
filterRow : '',
|
||||||
|
footerRow : '',
|
||||||
|
footerCells : '',
|
||||||
|
even : 'ui-widget-content', // even row zebra striping
|
||||||
|
odd : 'ui-state-default' // odd row zebra striping
|
||||||
});</pre>
|
});</pre>
|
||||||
|
|
||||||
This widget option replaces the previous <a href="#widgetuitheme">widgetUitheme</a>. All theme css names are now contained within the <code>$.tablesorter.themes</code> variable. Extend the default theme as seen above.<br>
|
This widget option replaces the previous <a href="#widgetuitheme">widgetUitheme</a>. All theme css names are now contained within the <code>$.tablesorter.themes</code> variable. Extend the default theme as seen above.<br>
|
||||||
|
@ -37,9 +37,9 @@
|
|||||||
hover : 'ui-state-hover', // hover class
|
hover : 'ui-state-hover', // hover class
|
||||||
// icon class names
|
// icon class names
|
||||||
icons : 'ui-icon', // icon class added to the <i> in the header
|
icons : 'ui-icon', // icon class added to the <i> in the header
|
||||||
iconSortNone : 'ui-icon-carat-2-n-s', // class name added to icon when column is not sorted
|
iconSortNone : 'ui-icon-carat-2-n-s ui-icon-caret-2-n-s', // class name added to icon when column is not sorted
|
||||||
iconSortAsc : 'ui-icon-carat-1-n', // class name added to icon when column has ascending sort
|
iconSortAsc : 'ui-icon-carat-1-n ui-icon-caret-1-n', // class name added to icon when column has ascending sort
|
||||||
iconSortDesc : 'ui-icon-carat-1-s', // class name added to icon when column has descending sort
|
iconSortDesc : 'ui-icon-carat-1-s ui-icon-caret-1-s', // class name added to icon when column has descending sort
|
||||||
filterRow : '',
|
filterRow : '',
|
||||||
footerRow : '',
|
footerRow : '',
|
||||||
footerCells : '',
|
footerCells : '',
|
||||||
|
Loading…
Reference in New Issue
Block a user