8
0
Pārlūkot izejas kodu

Tests: Fixed scrollViewportToShowTarget manual test because the module importing strategy has changed.

Aleksander Nowodzinski 8 gadi atpakaļ
vecāks
revīzija
27ee807567

+ 3 - 1
packages/ckeditor5-utils/tests/manual/scroll/scroll.js

@@ -5,7 +5,9 @@
 
 /* global document */
 
-import { scrollViewportToShowTarget } from '@ckeditor/ckeditor5-utils/src/dom/scroll';
+import scrollUtils from '@ckeditor/ckeditor5-utils/src/dom/scroll';
+
+const { scrollViewportToShowTarget } = scrollUtils;
 
 document.getElementById( 'scrollToBlue' ).addEventListener( 'click', () => {
 	const target = document.querySelector( '#target-blue .target' );