mirror of
https://github.com/codeguy/php-the-right-way.git
synced 2025-08-06 14:06:34 +02:00
Update scripts/setup.js
Fix for https://github.com/codeguy/php-the-right-way/issues/194 which was caused by d5d5d0725b
This commit is contained in:
@@ -55,6 +55,7 @@
|
||||
var eTop = $(e).offset().top;
|
||||
var eBottom = eTop + $(e).height();
|
||||
var id=e.id;
|
||||
id = id.replace("_title", "");
|
||||
|
||||
if (eTop >= viewTop) {
|
||||
//if we are passed the view and no heading was highlighted yet, store previous one as fallback
|
||||
|
Reference in New Issue
Block a user