////////////////////////////////////////
// Bind Infinite Ajax Scroll in User Board
jQuery(function() {
jQuery.ias({
container : '.user-page-board',
item: '.user-board-message',
loader: '<img src="https://raw.github.com/webcreate/infinite-ajax-scroll/master/dist/images/loader.gif"/>'
});
});
$(document).ready(function($) {
$("textarea").keyup(function(e) {
while($(this).outerHeight() < this.scrollHeight + parseFloat($(this).css("borderTopWidth")) + parseFloat($(this).css("borderBottomWidth"))) {
$(this).css('overflow', 'hidden');
$(this).height($(this).height()+1);
};
});
});
#header {
border-bottom: 1px solid #eee;
box-shadow: none;
}
#header:after {
content: '';
position: absolute;
width: 100%;
height: 7px;
bottom: -7px;
left: 0;
background: url(/skins/wikichan/images/shadow.png) no-repeat top center;
}