CGhostGroup
04-22-2013, 04:41 PM
Hi there,
I'm getting really desperate because I can't find the template/plugin which is adding the following code to my "SHOWTHREAD"-template.
SHOWTHREAD:
<body<vb:if condition="$onload"> onload="{vb:raw onload}"</vb:if>>
After Pageload:
<body onload="if (document.body.scrollIntoView && fetch_object('currentPost') && (window.location.href.indexOf('#') == -1 || window.location.href.indexOf('#post') > -1)) { fetch_object('currentPost').scrollIntoView(true); }">
First I thought there should be a "onload"-template, but there isn't. I need to edit the onload-event because I have to add an offset.
I'm getting really desperate because I can't find the template/plugin which is adding the following code to my "SHOWTHREAD"-template.
SHOWTHREAD:
<body<vb:if condition="$onload"> onload="{vb:raw onload}"</vb:if>>
After Pageload:
<body onload="if (document.body.scrollIntoView && fetch_object('currentPost') && (window.location.href.indexOf('#') == -1 || window.location.href.indexOf('#post') > -1)) { fetch_object('currentPost').scrollIntoView(true); }">
First I thought there should be a "onload"-template, but there isn't. I need to edit the onload-event because I have to add an offset.