File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 10
10
padding : 5px ;
11
11
}
12
12
13
- .fixed-footnotes-container .empty {
13
+ .fixed-footnotes-container .fixed-footnotes- empty {
14
14
display : none;
15
15
}
16
16
Original file line number Diff line number Diff line change @@ -131,10 +131,10 @@ describe("fixed-footnotes.refresh", function() {
131
131
true , false ) ; // reference visible, note invisible
132
132
var ffn = footnotes ( { } , w ) ;
133
133
expect ( w . $ ( ".fixed-footnotes-note" ) . length ) . toBe ( 0 ) ;
134
- expect ( w . $ ( ".fixed-footnotes-container" ) . hasClass ( "empty" ) ) . toBe ( true ) ;
134
+ expect ( w . $ ( ".fixed-footnotes-container" ) . hasClass ( "fixed-footnotes- empty" ) ) . toBe ( true ) ;
135
135
ffn . refresh ( ) ;
136
136
expect ( w . $ ( ".fixed-footnotes-note" ) . length ) . toBe ( 1 ) ;
137
- expect ( w . $ ( ".fixed-footnotes-container" ) . hasClass ( "empty" ) ) . toBe ( false ) ;
137
+ expect ( w . $ ( ".fixed-footnotes-container" ) . hasClass ( "fixed-footnotes- empty" ) ) . toBe ( false ) ;
138
138
done ( ) ;
139
139
} ) ;
140
140
} ) ;
Original file line number Diff line number Diff line change 8
8
color : black;
9
9
}
10
10
11
- .fixed-footnotes-container .empty {
11
+ .fixed-footnotes-container .fixed-footnotes- empty {
12
12
display : none;
13
13
}
14
14
Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ FixedFootnotes.prototype.removeRefreshListener = function(listener) {
98
98
FixedFootnotes . prototype . _refreshView = function ( ) {
99
99
var self = this ;
100
100
util . emptyElement ( this . _fixedContainerList ) ;
101
- this . _fixedContainer . className = this . options . fixedContainerClass + " empty" ;
101
+ this . _fixedContainer . className = this . options . fixedContainerClass + " fixed-footnotes- empty" ;
102
102
this . _getReferences ( ) . forEach ( function ( reference ) {
103
103
var note = self . _getNoteFromRef ( reference ) ;
104
104
if ( ! note ) return ;
@@ -116,7 +116,7 @@ FixedFootnotes.prototype._refreshView = function() {
116
116
FixedFootnotes . prototype . _createFixedContainer = function ( ) {
117
117
var fixedContainer = this . _window . document . createElement ( "div" ) ;
118
118
fixedContainer . id = this . options . fixedContainerId ;
119
- fixedContainer . className = this . options . fixedContainerClass + " empty" ;
119
+ fixedContainer . className = this . options . fixedContainerClass + " fixed-footnotes- empty" ;
120
120
fixedContainer . appendChild ( this . _window . document . createElement ( "ul" ) ) ;
121
121
this . _window . document . querySelector ( this . options . fixedContainerLocation ) . appendChild ( fixedContainer ) ;
122
122
return fixedContainer ;
You can’t perform that action at this time.
0 commit comments