mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-30 18:34:40 +00:00
Merge "Check for empty response"
This commit is contained in:
commit
b65954645f
|
@ -57,6 +57,7 @@
|
|||
mw.popups.render.currentRequest = undefined;
|
||||
|
||||
if (
|
||||
!re.query ||
|
||||
!re.query.pages ||
|
||||
!re.query.pages[ re.query.pageids[ 0 ] ].extract ||
|
||||
re.query.pages[ re.query.pageids[ 0 ] ].extract === ''
|
||||
|
|
Loading…
Reference in a new issue