(e)
| 244 | } |
| 245 | |
| 246 | onMediaLoaded(e) { |
| 247 | this._state.media_loaded = true; |
| 248 | this.fire("media_loaded", this.data); |
| 249 | if (this._el.credit) { |
| 250 | this._el.credit.style.width = this._el.content_item.offsetWidth + "px"; |
| 251 | } |
| 252 | if (this._el.caption) { |
| 253 | this._el.caption.style.width = this._el.content_item.offsetWidth + "px"; |
| 254 | } |
| 255 | } |
| 256 | |
| 257 | showMeta(credit, caption) { |
| 258 | this._state.show_meta = true; |
no test coverage detected