Commit 3ebc734 1 parent fce2c5c commit 3ebc734 Copy full SHA for 3ebc734
File tree 3 files changed +6
-3
lines changed
3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 2
2
3
3
## next
4
4
5
- - Add a new option: ` initialCoverage ` (#526 ).
5
+ - Add a new option: ` initialCoverage ` (#314 , #526 ).
6
+ - Don't load images in the list when hide the navbar (#451 ).
6
7
- Support for providing pivot pointer coordinates to ` zoom ` and ` zoomTo ` methods (#202 ).
7
8
- Don't override the padding right of the body when the width of the scrollbar is zero (#197 ).
8
9
- Add keyboard support to playing view (#90 ).
Original file line number Diff line number Diff line change @@ -12,7 +12,6 @@ import {
12
12
EVENT_CLICK ,
13
13
EVENT_ERROR ,
14
14
EVENT_HIDE ,
15
- EVENT_KEY_DOWN ,
16
15
EVENT_LOAD ,
17
16
EVENT_MOVE ,
18
17
EVENT_MOVED ,
Original file line number Diff line number Diff line change @@ -97,7 +97,10 @@ export default {
97
97
}
98
98
} ) ;
99
99
100
- img . src = src || url ;
100
+ if ( options . navbar ) {
101
+ img . src = src || url ;
102
+ }
103
+
101
104
img . alt = alt ;
102
105
img . setAttribute ( 'data-original-url' , url || src ) ;
103
106
item . setAttribute ( 'data-index' , index ) ;
You can’t perform that action at this time.
0 commit comments