Widget:costumeSwitcher: Difference between revisions
Jump to navigation
Jump to search
Pianoforte (talk | contribs) No edit summary |
Pianoforte (talk | contribs) No edit summary |
||
Line 27: | Line 27: | ||
// Search for all thumbs | // Search for all thumbs | ||
mw.mmv.bootstrap.processThumbs($("#content")); | mw.mmv.bootstrap.processThumbs($("#content")); | ||
// Re-Init the viewer with the new thumbs | if (typeof mw.mmv.bootstrap.viewer !== "undefined") { | ||
// Re-Init the viewer with the new thumbs | |||
mw.mmv.bootstrap.viewer.initWithThumbs(mw.mmv.bootstrap.thumbs); | |||
} | |||
} | } | ||
} | } |