test
This commit is contained in:
parent
06b806532e
commit
3c0ea8f40d
|
@ -76,7 +76,7 @@ $(function() {
|
||||||
}
|
}
|
||||||
localStorage.setItem('postbox-left', left)
|
localStorage.setItem('postbox-left', left)
|
||||||
localStorage.setItem('postbox-top', top)
|
localStorage.setItem('postbox-top', top)
|
||||||
}
|
},
|
||||||
})
|
})
|
||||||
$('#post-box').resizable({
|
$('#post-box').resizable({
|
||||||
minHeight: 150,
|
minHeight: 150,
|
||||||
|
@ -84,7 +84,7 @@ $(function() {
|
||||||
stop: function (event, ui) {
|
stop: function (event, ui) {
|
||||||
$('#textarea').blur()
|
$('#textarea').blur()
|
||||||
localStorage.setItem('postbox-width', ui.size.width)
|
localStorage.setItem('postbox-width', ui.size.width)
|
||||||
}
|
},
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -101,6 +101,8 @@ if (location.search) {
|
||||||
$('.mini-btn').text('expand_less')
|
$('.mini-btn').text('expand_less')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
window.onload = initPostbox
|
||||||
|
function initPostbox() {
|
||||||
$('#posttgl').click(function (e) {
|
$('#posttgl').click(function (e) {
|
||||||
if (!$('#post-box').hasClass('appear')) {
|
if (!$('#post-box').hasClass('appear')) {
|
||||||
show()
|
show()
|
||||||
|
@ -139,3 +141,4 @@ $('#textarea,#cw-text').focusout(function(e) {
|
||||||
selectedColumn = 0
|
selectedColumn = 0
|
||||||
selectedToot = 0
|
selectedToot = 0
|
||||||
})
|
})
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user