11 lines
307 B
JavaScript
11 lines
307 B
JavaScript
'use strict';
|
|
|
|
function initializeUserProfilePage() {
|
|
if (document.getElementById('user-profile-dropdown')) {
|
|
document.getElementById('user-profile-dropdown').onclick = function() {
|
|
document
|
|
.getElementById('user-profile-dropdownmenu')
|
|
.classList.toggle('showing');
|
|
};
|
|
}
|
|
}
|