mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-25 20:44:53 -04:00
Fix preview label issue.
This commit is contained in:
parent
b33599f4f2
commit
86466f072b
3 changed files with 4 additions and 2 deletions
|
@ -111,10 +111,10 @@ modulejs.define('ext/preview-img', ['_', '$', 'core/event', 'core/server', 'core
|
|||
|
||||
currentItems = items;
|
||||
currentIdx = idx;
|
||||
onIdxChange(0);
|
||||
preview.setOnIndexChange(onIdxChange);
|
||||
preview.setOnAdjustSize(onAdjustSize);
|
||||
preview.enter();
|
||||
onIdxChange(0);
|
||||
}
|
||||
|
||||
function initItem(item) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue