mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-04-04 11:10:04 -04:00
Don't focus on text field in mobile view when tapping the progress
This commit is contained in:
parent
d782a7dc48
commit
dc6f30dd94
1 changed files with 3 additions and 0 deletions
|
@ -77,6 +77,9 @@ export default Ember.View.extend({
|
|||
},
|
||||
|
||||
_focusWhenOpened: function() {
|
||||
// Don't focus on mobile
|
||||
if (Discourse.Mobile.mobileView) { return; }
|
||||
|
||||
if (this.get('controller.expanded')) {
|
||||
var self = this;
|
||||
Em.run.schedule('afterRender', function() {
|
||||
|
|
Loading…
Add table
Reference in a new issue