axew3 wrote: ↑Tue Jun 25, 2024 10:17 pm
No there is only one (the other that could seem to you, is the comment line more below!?
// END if(window.self !== window.top){ ).
Anyway
Code: Select all
#quickmod panel alerts
.watch-topic-link
.bookmark-link
confirm popups also, requires to to be fixed!
this old overall_footer.html piece of code
Code: Select all
$("#quickmod,.bookmark-link").on("click", function(event) {
var pos = window.scrollY + document.querySelector('#quickmod').getBoundingClientRect().top;
$(parent.window).scllTop( 200 );
$("#darkenwrapper").on("click", function() {
$(parent.window).scrollTop( pos );
});
$("#darken").on("click", function() {
$(parent.window).scrollTop( pos );
});
});
will be now replaced by this new code:
Code: Select all
// #phpbb_confirm scroll fix
$(".dropdown-contents li a").on("click", function(e) {
var g = $($(this.getBoundingClientRect().top));
var t = parseInt(g[Object.keys(g)[0]]);
$("#phpbb_alert").animate({top: t+'px'}, 100);
});
p.s but i realize now, that all can be into one single instruction, for all classes and ids that fires same phpBB alerts pop ups. Let check...
going to check the page-forum.php, so to fix it definitively if there is something wrong with.
The next plugin version coming very soon, will fix the template integration under all aspects and will optimize the custom files use so to be easier for all to manage things without caring about plugin core updates.