diff --git a/core/client/routes/application.js b/core/client/routes/application.js index be5d8703f5..6e24038f29 100644 --- a/core/client/routes/application.js +++ b/core/client/routes/application.js @@ -1,23 +1,10 @@ import ShortcutsRoute from 'ghost/mixins/shortcuts-route'; -import mobileUtils from 'ghost/utils/mobile-utils'; var ApplicationRoute = Ember.Route.extend(Ember.SimpleAuth.ApplicationRouteMixin, ShortcutsRoute, { shortcuts: { 'esc': 'closePopups' }, - mobileInteractions: function () { - var responsiveAction = mobileUtils.responsiveAction; - - Ember.run.scheduleOnce('afterRender', document, function () { - // ### Toggle the sidebar menu - $('[data-off-canvas]').on('click', function (event) { - responsiveAction(event, '(max-width: 650px)', function () { - $('body').toggleClass('off-canvas'); - }); - }); - }); - }.on('init'), setupController: function () { Ember.run.next(this, function () { diff --git a/core/client/templates/-navbar.hbs b/core/client/templates/-navbar.hbs index 73451979ec..3a2d3dc9fd 100644 --- a/core/client/templates/-navbar.hbs +++ b/core/client/templates/-navbar.hbs @@ -4,9 +4,9 @@