File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -18,8 +18,6 @@ const update = () => {
1818requestAnimationFrame ( update ) ;
1919
2020const highlightButtons = document . querySelectorAll ( '[data-pointer-type="highlight"]' ) ;
21- const liftButtons = document . querySelectorAll ( '[data-pointer-type="lift"]' ) ;
22- const contentBlocks = document . querySelectorAll ( '[data-pointer-type="content"]' ) ;
2321
2422highlightButtons . forEach ( ( highlightButton ) => {
2523 highlightButton . addEventListener ( 'mouseenter' , ( e ) => {
@@ -33,6 +31,7 @@ highlightButtons.forEach((highlightButton) => {
3331 } ) ;
3432} ) ;
3533
34+ const liftButtons = document . querySelectorAll ( '[data-pointer-type="lift"]' ) ;
3635liftButtons . forEach ( ( liftButton ) => {
3736 liftButton . addEventListener ( 'mouseenter' , ( e ) => {
3837 const element = e . currentTarget as HTMLElement ;
@@ -45,6 +44,7 @@ liftButtons.forEach((liftButton) => {
4544 } ) ;
4645} ) ;
4746
47+ const contentBlocks = document . querySelectorAll ( '[data-pointer-type="content"]' ) ;
4848contentBlocks . forEach ( contentBlock => {
4949 contentBlock . addEventListener ( 'mouseenter' , ( e ) => {
5050 const element = e . currentTarget as HTMLElement ;
You can’t perform that action at this time.
0 commit comments