Skip to content
Snippets Groups Projects
Commit 93a673f4 authored by Olivia206's avatar Olivia206
Browse files

changed name

parent 93dcf7e9
No related branches found
No related tags found
No related merge requests found
const blocks = document.querySelectorAll('.block-timeline--horizontal, .block-posts--scrollable');
const draggableBlocks = document.querySelectorAll('.block-timeline--horizontal, .block-posts--scrollable');
class BlockWithGrab {
class DraggableBlock {
constructor (block) {
this.block = block;
this.content = this.block.querySelector('.grab-container');
......@@ -135,6 +135,6 @@ class BlockWithGrab {
}
}
blocks.forEach((block) => {
new BlockWithGrab(block);
draggableBlocks.forEach((block) => {
new draggableBlock(block);
});
......@@ -8,5 +8,5 @@ import './design-system/search';
import './design-system/toc';
import './blocks/keyFigures';
import './blocks/organizations';
import './blocks/blocksWithGrab.js';
import './blocks/draggableBlocks.js';
import './blocks/videos.js';
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment