xsokev/Dojo-Bootstrap — pull request #112 by Shurakai (2014-06-10 16:59:37+00:00)
Title: Fixed wrong calculations within scrollspy

In Firefox, body.scrollTop is always set to 0 - we should use dojo's position(win.body()) functionality to determine how much body was scrolled.

Additionally, maxScroll might attain a negative value; hence, Math.abs() is used on maxScroll and scrollTop (the latter since Firefox uses negative values here as well)