Skip to content
This repository has been archived by the owner on Feb 12, 2019. It is now read-only.

Wordpress plugin Update. #269

Open
keenly opened this issue Oct 16, 2017 · 0 comments
Open

Wordpress plugin Update. #269

keenly opened this issue Oct 16, 2017 · 0 comments

Comments

@keenly
Copy link

keenly commented Oct 16, 2017

The Wordpress plugin still work, but would be good if it could be updated.
http://cubiq.org/add-to-homescreen-the-wordpress-plugin

The only issue we have is with the action icon not showing on some IOS versions.

I updated the CSS and JS to the latest version v3.2.3

which have gave the following console error:
"addtohomescreen.js:553 Uncaught TypeError: Cannot read property 'appendChild' of null
at ath.Class.show (addtohomescreen.min.js:553)"

changing this line:
this.container = document.body;;
To:
this.container = document.documentElement;

Fixed the error.

So if anyone out there has the ability to update the wordpress plugin that would be cool.

Thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants