mirror of
https://we.phorge.it/source/phorge.git
synced 2024-09-21 09:48:47 +02:00
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);
|
|
|
|
});
|