Skip to content

Small issues and hope it will be fixed in the file #1

Description

@khalecl

Thank you so much for your contribution, I had a small bug while splitting one of my files, where the copy buttom didn't work and I decided to share with you what I found from analyzing the splitter tool!
Fix undefined event variable by accepting it as a parameter and passing the button element explicitly to showCopyFeedback instead of relying on the deprecated global event object.

lines 624–632

Pass the event object to copyToClipboard so it can properly identify which button was clicked, and fix the typo copyTovenuesClipboard to copyToClipboard.

lines 587–599

Fix feedback restoration bug by storing original button state in data attributes, preventing "Copied!" from becoming the new "original" text if clicked rapidly or during an existing timeout.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions