Skip to content
This repository has been archived by the owner on Jul 17, 2020. It is now read-only.

Cannot change watermark after setting #21

Open
wgmilleriii opened this issue Oct 24, 2016 · 1 comment
Open

Cannot change watermark after setting #21

wgmilleriii opened this issue Oct 24, 2016 · 1 comment

Comments

@wgmilleriii
Copy link

After you set the watermark once, you cannot change it.

$("#div1").watermark('one');
$("#div1").watermark('two'); // will not happen

@ping1234e
Copy link

that's because this code does return when finding its attr named 'data-jq-watermark ' ,I fixed this issue as blow : if ($elem.attr('data-jq-watermark') === 'processed') {
$elem.prev().remove();
}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants