Commit de0aff84 authored by Constance Okoghenun's avatar Constance Okoghenun

Removed check for profile page

parent bee125e6
import '~/profile/gl_crop';
import Profile from '~/profile/profile';
import { getPagePath } from '~/lib/utils/common_utils';
document.addEventListener('DOMContentLoaded', () => {
$(document).on('input.ssh_key', '#key_key', function () { // eslint-disable-line func-names
......@@ -13,7 +12,5 @@ document.addEventListener('DOMContentLoaded', () => {
}
});
if (getPagePath() === 'profiles') {
new Profile(); // eslint-disable-line no-new
}
});
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment