Fixed reference bug in profiles bundle

This commit is contained in:
Constance Okoghenun 2018-02-23 19:47:06 +01:00
parent fffc131795
commit bee125e6aa
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ import Profile from '~/profile/profile';
import { getPagePath } from '~/lib/utils/common_utils';
document.addEventListener('DOMContentLoaded', () => {
$(document).on('input.ssh_key', '#key_key', () => {
$(document).on('input.ssh_key', '#key_key', function () { // eslint-disable-line func-names
const $title = $('#key_title');
const comment = $(this).val().match(/^\S+ \S+ (.+)\n?$/);