mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-30 18:52:42 +01:00
7571d4c02a
Summary: - Test Plan: This was a pretty straightforward replace. Everything should be sane. Reviewed By: epriestley Reviewers: tomo, epriestley, mroch CC: aran, epriestley Differential Revision: 803
15 lines
319 B
JavaScript
15 lines
319 B
JavaScript
/**
|
|
* @provides javelin-behavior-diffusion-jump-to
|
|
* @requires javelin-behavior
|
|
* javelin-util
|
|
* javelin-vector
|
|
* javelin-dom
|
|
*/
|
|
|
|
JX.behavior('diffusion-jump-to', function(config) {
|
|
|
|
setTimeout(function() {
|
|
window.scrollTo(0, JX.$V(JX.$(config.target)).y - 100);
|
|
}, 0);
|
|
|
|
});
|