This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/assets/javascripts/discourse
Joffrey JAFFEUX ac48c4e562
UX: uses mod+p instead of ctrl+p and command+p for printTopic (#9202)
Mousetrap 1.4 introduced a generic mod helper which lets you set cross platform shortcuts.

Mousetrap.bind('mod+p',  _print);
On Mac this ends up mapping to command+p whereas on Windows and Linux it maps to ctrl+p.

This differs from defining ctrl+p and command+p because both ctrl+p and command+p will trigger print on Mac whereas with the mod helper only command+p will.
2020-03-13 20:58:34 +01:00
..
adapters Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
components Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
controllers FEATURE: Add enable_bookmark_at_desktop_reminders site setting (#9198) 2020-03-13 16:29:09 +10:00
helpers Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
initializers Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
lib UX: uses mod+p instead of ctrl+p and command+p for printTopic (#9202) 2020-03-13 20:58:34 +01:00
mixins Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
models Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
pre-initializers Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
raw-views Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
routes Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
services Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
templates FEATURE: Add enable_bookmark_at_desktop_reminders site setting (#9198) 2020-03-13 16:29:09 +10:00
widgets Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00
mapping-router.js Rename many .js.es6 files to .js 2020-03-12 13:29:55 -04:00