Removed "Unsupported browser" warning for Chromium-based Edge

no issue

- Edge is dropping it's own engine and switching to Chromium which has full support in the editor
This commit is contained in:
Kevin Ansfield 2019-06-25 14:52:09 +01:00
parent dc57e6557b
commit 83a5a54801

View File

@ -27,7 +27,7 @@ export default AuthenticatedRoute.extend(ShortcutsRoute, {
this._super(...arguments);
// edge has known issues
if (this.userAgent.browser.isEdge) {
if (this.userAgent.browser.isEdge && this.userAgent.parser.getEngine().name === 'EdgeHTML') {
this.notifications.showAlert(
htmlSafe('Microsoft Edge is not currently supported. Please switch to <a href="https://ghost.org/downloads/" target="_blank" rel="noopener">Ghost Desktop</a> or a recent version of Chrome/Firefox/Safari.'),
{type: 'info', key: 'koenig.browserSupport'}