This commit is contained in:
cutls 2020-05-03 22:23:59 +09:00
parent 06b806532e
commit 3c0ea8f40d

View File

@ -76,7 +76,7 @@ $(function() {
}
localStorage.setItem('postbox-left', left)
localStorage.setItem('postbox-top', top)
}
},
})
$('#post-box').resizable({
minHeight: 150,
@ -84,7 +84,7 @@ $(function() {
stop: function (event, ui) {
$('#textarea').blur()
localStorage.setItem('postbox-width', ui.size.width)
}
},
})
})
@ -101,6 +101,8 @@ if (location.search) {
$('.mini-btn').text('expand_less')
}
}
window.onload = initPostbox
function initPostbox() {
$('#posttgl').click(function (e) {
if (!$('#post-box').hasClass('appear')) {
show()
@ -139,3 +141,4 @@ $('#textarea,#cw-text').focusout(function(e) {
selectedColumn = 0
selectedToot = 0
})
}