mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-04 07:15:54 +01:00
Remove IE9/IE10 workarounds
This commit is contained in:
@@ -125,15 +125,11 @@ export class InputBox extends Widget {
|
||||
this.onfocus(this.input, () => this.onFocus());
|
||||
|
||||
// Add placeholder shim for IE because IE decides to hide the placeholder on focus (we dont want that!)
|
||||
if (this.placeholder && Bal.isIE11orEarlier) {
|
||||
if (this.placeholder && Bal.isIE) {
|
||||
this.onclick(this.input, (e) => {
|
||||
dom.EventHelper.stop(e, true);
|
||||
this.input.focus();
|
||||
});
|
||||
|
||||
if (Bal.isIE9) {
|
||||
this.onkeyup(this.input, () => this.onValueChange());
|
||||
}
|
||||
}
|
||||
|
||||
setTimeout(() => this.updateMirror(), 0);
|
||||
|
||||
Reference in New Issue
Block a user