简体   繁体   English

移动 Safari 独有,JavaScript 错误?

[英]Mobile Safari exclusive, JavaScript Error?

I am in the early stages of a client site (hence blacked out info) and have run into a small issue.我处于客户网站的早期阶段(因此信息被涂黑)并且遇到了一个小问题。 I have been using Opera's responsive screen sizing for mobile-first development.我一直在使用 Opera 的响应式屏幕大小来进行移动优先开发。 However, a good few hours in and I've finally connected using my iPhone 11 and the whole site has a big white border and limited JS functionality.然而,几个小时后,我终于用我的 iPhone 11 连接了,整个网站都有一个大的白色边框和有限的 JS 功能。

It appears that I have a JS error, but I can't access the console on mobile and Apple no longer offer Safari for Windows so I can't test it on my PC either.看来我有一个 JS 错误,但我无法在移动设备上访问控制台,Apple 不再为 Windows 提供 Safari,所以我也无法在我的 PC 上对其进行测试。

Screenshots: Desktop Screenshot (Working):截图:桌面截图(工作): 桌面 SS

Mobile Screenshot (Not working):手机截图(不工作): 移动党卫军

My question is, is it painfully obvious to anyone what I've done?我的问题是,对任何人来说,我所做的一切都非常明显吗?

Any help appreciated.任何帮助表示赞赏。 Thank you in advance.先感谢您。

Fixed: Using "//" instead of "https://" on my Bootstrap CSS & JS was the cause.修正:在我的 Bootstrap CSS & JS 上使用“//”而不是“https://”是原因。 Put back to "https://" and the page loads fine.放回“https://”,页面加载正常。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM