Sha256: c2ca85a76ebc0ad2f3cd0715a11379fc5e8a7ea0c084d241559a228669694332
Contents?: true
Size: 487 Bytes
Versions: 58
Compression:
Stored size: 487 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.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
58 entries across 58 versions & 1 rubygems