inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,024
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Feb 26, 2018 14:50:17 GMT -8
GLOBAL HEADER: <script>
(function(){
/* Hide Quick Reply Except on Last Page (GLOBAL HEADER)*/
if(pb.data('proboards.post') && pb.data('quick_reply'))
$(document).on('paginationcreate', function(ev){
pageData = $(ev.target).data('pagination');
showLastReply();
pb.events.on('afterSearch',showLastReply )
function showLastReply(){
$('.container.quick-reply').toggle(pageData.pages === pageData.page)
}
})
})()
</script>
|
|
inherit
246669
0
Jan 2, 2023 13:25:26 GMT -8
Philip
97
July 2017
phil82
|
Post by Philip on Feb 26, 2018 17:42:31 GMT -8
named functions to the rescue(callback hell), good job!
|
|