diff --git a/resources/dist/index.js b/resources/dist/index.js index dbf6bc7ae..a117433b3 100644 Binary files a/resources/dist/index.js and b/resources/dist/index.js differ diff --git a/resources/dist/index.js.map.json b/resources/dist/index.js.map.json index 141bae328..a6ab26a0f 100644 Binary files a/resources/dist/index.js.map.json and b/resources/dist/index.js.map.json differ diff --git a/src/integrations/mwpopups.js b/src/integrations/mwpopups.js index 3a10d2504..83f49edac 100644 --- a/src/integrations/mwpopups.js +++ b/src/integrations/mwpopups.js @@ -20,7 +20,7 @@ export default function createMwPopups( store, registerModel, registerPreviewUI, * @return {boolean} If Page Previews are currently active */ isEnabled: function isEnabled() { - return store.getState().preview.enabled[ previewTypes.TYPE_PAGE ]; + return !!store.getState().preview.enabled[ previewTypes.TYPE_PAGE ]; }, /** * @stable Do not remove properties in the type PopupModule without providing backwards