mirror of https://github.com/ColorlibHQ/AdminLTE
ExpandableTable.js: add missing variable
parent
f94fa978f9
commit
6a7c491071
|
@ -22,6 +22,7 @@ const EVENT_COLLAPSED = `collapsed${EVENT_KEY}`
|
||||||
|
|
||||||
const CLASS_NAME_HEADER = 'expandable-header'
|
const CLASS_NAME_HEADER = 'expandable-header'
|
||||||
|
|
||||||
|
const SELECTOR_TABLE = '.expandable-table'
|
||||||
const SELECTOR_HEADER = `.${CLASS_NAME_HEADER}`
|
const SELECTOR_HEADER = `.${CLASS_NAME_HEADER}`
|
||||||
const SELECTOR_DATA_SELECTOR = 'data-expandable-table'
|
const SELECTOR_DATA_SELECTOR = 'data-expandable-table'
|
||||||
const SELECTOR_EXPANDED = 'expanded'
|
const SELECTOR_EXPANDED = 'expanded'
|
||||||
|
@ -97,7 +98,7 @@ class ExpandableTable {
|
||||||
* Data API
|
* Data API
|
||||||
* ====================================================
|
* ====================================================
|
||||||
*/
|
*/
|
||||||
$(CLASS_NAME_TABLE).ready(function () {
|
$(SELECTOR_TABLE).ready(function () {
|
||||||
ExpandableTable._jQueryInterface.call($(this), 'init')
|
ExpandableTable._jQueryInterface.call($(this), 'init')
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue