diff --git a/Bootstrap.Admin/wwwroot/js/profiles.js b/Bootstrap.Admin/wwwroot/js/profiles.js index ef04dcf2..9806069c 100644 --- a/Bootstrap.Admin/wwwroot/js/profiles.js +++ b/Bootstrap.Admin/wwwroot/js/profiles.js @@ -1,5 +1,5 @@ $(function () { - var $headerIcon = $('#headerIcon'); + var $headerIcon = $('.userinfo img, .nav-header img'); var preIcon = $headerIcon.attr('src'); var $file = $('#fileIcon'); var defFileName = $file.attr('data-file');