FIX: Various improvements to bookmark modal UI (#10225)
* Do not autofocus name input on mobile * Improve code for formatted reminder type times to not be computed, so the modal times update correctly * Change wording of "Next Monday" to "Monday" for all days except when today is Monday
This commit is contained in:
@@ -9,7 +9,10 @@ moduleFor("controller:bookmark", {
|
||||
beforeEach() {
|
||||
logIn();
|
||||
KeyboardShortcutInitializer.initialize(Discourse.__container__);
|
||||
BookmarkController = this.subject({ currentUser: User.current() });
|
||||
BookmarkController = this.subject({
|
||||
currentUser: User.current(),
|
||||
site: { isMobileDevice: false }
|
||||
});
|
||||
BookmarkController.onShow();
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user