mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-26 23:40:57 +01:00
15 lines
244 B
JavaScript
15 lines
244 B
JavaScript
|
/**
|
||
|
* @provides javelin-behavior-diffusion-jump-to
|
||
|
* @requires javelin-lib-dev
|
||
|
*/
|
||
|
|
||
|
JX.behavior('diffusion-jump-to', function(config) {
|
||
|
|
||
|
JX.defer(
|
||
|
function() {
|
||
|
window.scrollTo(0, JX.$V(JX.$(config.target)).y - 100);
|
||
|
});
|
||
|
|
||
|
});
|
||
|
|