Sha256: 990b01eb2740acaaa9cb7a1be96649e74e581f7266e95f4d0181da3d0a0803d9
Contents?: true
Size: 556 Bytes
Versions: 9
Compression:
Stored size: 556 Bytes
Contents
pageflow.app.addInitializer(function(options) { var KEY_A = 65; var KEY_X = 88; $(document).on('keydown', function(event) { if (event.altKey && event.which === KEY_A) { if (pageflow.features.isEnabled('atmo')) { if (pageflow.atmo.disabled) { pageflow.atmo.enable(); } else { pageflow.atmo.disable(); } } } else if (event.altKey && event.which === KEY_X) { pageflow.editor.navigate('pages/' + pageflow.slides.currentPage().data('id'), {trigger: true}); } }); });
Version data entries
9 entries across 9 versions & 1 rubygems