mirror of
https://github.com/codeguy/php-the-right-way.git
synced 2025-08-14 01:33:58 +02:00
@@ -55,6 +55,7 @@
|
|||||||
var eTop = $(e).offset().top;
|
var eTop = $(e).offset().top;
|
||||||
var eBottom = eTop + $(e).height();
|
var eBottom = eTop + $(e).height();
|
||||||
var id=e.id;
|
var id=e.id;
|
||||||
|
id = id.replace("_title", "");
|
||||||
|
|
||||||
if (eTop >= viewTop) {
|
if (eTop >= viewTop) {
|
||||||
//if we are passed the view and no heading was highlighted yet, store previous one as fallback
|
//if we are passed the view and no heading was highlighted yet, store previous one as fallback
|
||||||
|
Reference in New Issue
Block a user