Remove Jquery references (#1461)

* modify key codes

* formatting

* change string event type

* code clean up
This commit is contained in:
Anthony Dresser
2018-05-23 10:59:28 -07:00
committed by GitHub
parent 259306a8db
commit 04ec9caad1
3 changed files with 14 additions and 11 deletions

View File

@@ -205,11 +205,11 @@ export class FirewallRuleDialog extends Modal {
this._register(this._themeService.onDidColorThemeChange(e => this.updateTheme(e)));
this.updateTheme(this._themeService.getColorTheme());
jQuery(this._IPAddressInput).on('click', () => {
$(this._IPAddressInput).on(DOM.EventType.CLICK, () => {
this.onFirewallRuleOptionSelected(true);
});
jQuery(this._subnetIPRangeInput).on('click', () => {
$(this._subnetIPRangeInput).on(DOM.EventType.CLICK, () => {
this.onFirewallRuleOptionSelected(false);
});
}