close modal windows by press on background and other fixes
@ -2,5 +2,8 @@ $(function(){
$('.post-text').on('click', 'a', function(e){
e.stopPropagation();
});
console.log(ret)
$(".modal-blackout").on('click', function(){
closeModal($(this));
if($(".modal-content").attr("style") != undefined){$(".modal-content").removeAttr("style")}
})
@ -76,7 +76,7 @@
right: 10px;
padding: 10px;
font-size: 12px;
width: 110px;
width: 120px;
text-align: center;
color: rgba( 0, 0, 0, .7 );
background: rgba( 0, 0, 0, .1 );
@ -1516,15 +1516,15 @@ input.userMenu-search-field:focus::-ms-input-placeholder {
.directMessages .modal-wrapper
{
width: 540px;
height: auto;
height: 470px;
margin: -200px 0 0 -280px;
overflow-x: hidden;
}
.directMessages .modal-content
overflow-y: auto;
height: 400px;
.directMessages .modal-buttons
display: none;
@ -134,6 +134,8 @@ function hideDmSnippetShowDmThread()
var dm_screenname = $this.attr("data-dm-screen-name");
openDmWithUserModal(dm_screenname);
$(".modal-content").css("height", "300px"); //fix