Page MenuHomePhabricator

ImageHeader: "TypeError: undefined is not an object (evaluating 'position.left')" on non item pages
Closed, ResolvedPublic

Description

The ImageHeader gadget shows the following error when viewing the JavaScript console on non item pages:

TypeError: undefined is not an object (evaluating 'position.left')

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

That's probably for me (caused by me) I will take a look at it soon.

I also get:

Exception in module-execute in module ext.gadget.ImageHeader:

"TypeError: Cannot read property 'get' of undefined TypeError: Cannot read property 'get' of undefined" on non-entity pages like Special:Watchlist

Ladsgroup moved this task from Proposed to Done on the Wikidata-Former-Sprint-Board board.