r92100 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r92099
|
r92100
|
r92101
>
Date:
21:11, 13 July 2011
Author:
inez
Status:
deferred
Tags:
Comment:
Focus input box only if not focused yet - this way we prevent event focus being fired constantly
Modified paths:
/trunk/parsers/wikidom/lib/es/es.Surface.js
(modified) (
history
)
Diff
[
purge
]
Index: trunk/parsers/wikidom/lib/es/es.Surface.js
—
—
@@ -183,7 +183,9 @@
184
184
this.cursor.show();
185
185
}
186
186
this.initialHorizontalCursorPosition = null;
187
- this.$input.focus();
187
+ if ( !this.$input.is(':focus') ) {
188
+ this.$input.focus();
189
+ }
188
190
return false;
189
191
};
190
192
Status & tagging log
21:19, 13 July 2011
😂
(
talk
|
contribs
)
changed the
status
of r92100
[
removed:
new
added:
deferred]