Widget:costumeSwitcher: Difference between revisions
Jump to navigation
Jump to search
Pianoforte (talk | contribs) No edit summary |
Pianoforte (talk | contribs) No edit summary |
||
Line 21: | Line 21: | ||
// As we change the link, we have to update the Thumb-Cache of the Media Viewer | // As we change the link, we have to update the Thumb-Cache of the Media Viewer | ||
// Clear up the thumbs cache | // Clear up the thumbs cache | ||
if ( | if (mw && mw.mmv && mw.mmv.bootstrap && mw.mmv.bootstrap.viewer) { | ||
mw.mmv.bootstrap.thumbs = []; | mw.mmv.bootstrap.thumbs = []; | ||
// Search for all thumbs | // Search for all thumbs |