Robmoen has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/72852


Change subject: Decrease the time it takes to focus the input element.
......................................................................

Decrease the time it takes to focus the input element.

Having such a long delay between the focus change from surface
to an inspector input lets some actions slip through.
Decreasing by half seems to have eliminated this problem.

Bug: 51075
Change-Id: Ic7910a666b33b41b57b035a15cf1f8c9264e7111
---
M modules/ve/ui/inspectors/ve.ui.LinkInspector.js
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/VisualEditor 
refs/changes/52/72852/1

diff --git a/modules/ve/ui/inspectors/ve.ui.LinkInspector.js 
b/modules/ve/ui/inspectors/ve.ui.LinkInspector.js
index 4ac30f6..4275674 100644
--- a/modules/ve/ui/inspectors/ve.ui.LinkInspector.js
+++ b/modules/ve/ui/inspectors/ve.ui.LinkInspector.js
@@ -132,7 +132,7 @@
                this.initialAnnotationHash = initialAnnotation && ve.getHash( 
initialAnnotation );
                this.targetInput.setAnnotation( annotation );
                this.targetInput.$input.focus().select();
-       }, this ), 200 );
+       }, this ), 100 );
 };
 
 /**

-- 
To view, visit https://gerrit.wikimedia.org/r/72852
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic7910a666b33b41b57b035a15cf1f8c9264e7111
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/VisualEditor
Gerrit-Branch: master
Gerrit-Owner: Robmoen <rm...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to