Skip to content

File inconsistence on "push" #12

Description

@undermink

Hitting the "push" button gave me a permanent "File inconsistent with pad content"-Error.
Changing:
if (adat !== text.slice(0, -1)) {
to
if (adat !== text) {
in handleButtonMessage.js seems to fix it for me.

https://github.com/LaKing/ep_codepad/blob/master/handleButtonMessage.js#L108

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions