mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-29 07:09:48 +03:00
Turn your audience into a business. Publishing, memberships, subscriptions and newsletters.
bloggingcmsemberghosthacktoberfestheadless-cmsjamstackjavascriptjournalismnodejspublishingweb-application
37f721d76a
refs https://github.com/TryGhost/Team/issues/559 When modals are re-used across the app it's annoying to have to remember the class names that it uses in every location it's used. - added a `DEFAULT_MODAL_OPTIONS` object to the modals service that's keyed on the modal to be opened and contains any options that are repeated across every instance - overrode the `modals.open()` method to merge in the default options before calling `super()` - updated invocation points of shared modals to remove duplicated class name options |
||
---|---|---|
ghost/admin |