mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-13 12:26:35 +00:00
commit
a4217e0f62
@ -60,9 +60,9 @@ export default new Polymer({
|
|||||||
},
|
},
|
||||||
|
|
||||||
attached() {
|
attached() {
|
||||||
// On iPhone 5, 5s and some 6 I have observed that the user would be
|
// On Safari, iPhone 5, 5s and some 6 I have observed that the user would be
|
||||||
// unable to pan on initial load. This fixes it.
|
// unable to pan on initial load. This fixes it.
|
||||||
if (window.L.Browser.mobileWebkit) {
|
if (window.L.Browser.mobileWebkit || window.L.Browser.webkit) {
|
||||||
this.async(() => {
|
this.async(() => {
|
||||||
const map = this.$.map;
|
const map = this.$.map;
|
||||||
const prev = map.style.display;
|
const prev = map.style.display;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user