THIS IS A TEST INSTANCE ONLY! REPOSITORIES CAN BE DELETED AT ANY TIME!

Browse Source

usermenu: Fix unintended user menu call

tags/v1.11.0
Suwon Chae 1 year ago
parent
commit
8edae8d123
1 changed files with 10 additions and 8 deletions
  1. +10
    -8
      public/javascripts/common/yona.Usermenu.js

+ 10
- 8
public/javascripts/common/yona.Usermenu.js View File

@@ -1,12 +1,14 @@
$(function() {
$.get(UsermenuUrl)
.done(function (data) {
$("#usermenu-tab-content-list").html(data);
afterUsermenuLoaded();
})
.fail(function (data) {
$yobi.alert("Usermenu loading failed: " + data);
});;
if($(".gnb-usermenu-dropdown").length !== 0) {
$.get(UsermenuUrl)
.done(function (data) {
$("#usermenu-tab-content-list").html(data);
afterUsermenuLoaded();
})
.fail(function (data) {
console.log("Usermenu loading failed: " + data);
});
}

function afterUsermenuLoaded(){
/* Set side navigation */


Loading…
Cancel
Save