Skip to content
Snippets Groups Projects

Improve structure

Merged Daniel Kurowski requested to merge improve-structure into master
All threads resolved!
Files
5
import {scrollTo} from './scrollTo';
import {scrollToTarget} from './scrollToTarget';
import {assert} from './assert';
import {HashTarget} from './HashTarget';
@@ -11,6 +11,6 @@ export function initializeOnLinkClickScroll(): void
assert(element !== null);
event.preventDefault();
scrollTo(HashTarget.fromString(element.hash, document));
scrollToTarget(HashTarget.fromString(element.hash, document));
})));
}
Loading