Removed check for profile page
This commit is contained in:
parent
bee125e6aa
commit
de0aff845f
1 changed files with 1 additions and 4 deletions
|
@ -1,6 +1,5 @@
|
|||
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
|
||||
}
|
||||
new Profile(); // eslint-disable-line no-new
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue