Browse Source

affect profile modal only and use local variable

master
Denis Ryabov 11 years ago
parent
commit
36adf7106c
  1. 2
      js/interface_common.js

2
js/interface_common.js

@ -121,7 +121,7 @@ function openProfileModal(e)
}; };
//fix .modal-content height //fix .modal-content height
$mc = $('.modal-content'); var $mc = $("." +profileModalClass + " .modal-content");
$mc.off('profileloaded'); $mc.off('profileloaded');
$mc.on('profileloaded', function() { $mc.on('profileloaded', function() {
var viewHeader = $mc.find(".postboard > h2"); var viewHeader = $mc.find(".postboard > h2");

Loading…
Cancel
Save