We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
In line L98
The scenario is that there a element's data-localize will change by js. Then doing localize will cause issue
example:
var a = $("<div></div>").attr("data-localize", 1); > undefined a > [<div data-localize="1"></div>] a.data() > Object {localize: 1}
if change the attr data-localize
a.attr("data-localize", 2) > [<div data-localize="2"></div>] a.data() > Object {localize: 1} a.attr("data-localize") > "2"
Now I use workaround in my repository. The workaround seems so ugly...
$("#....").data("localize", newValue).attr("data-localize", newValue)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In line L98
The scenario is that there a element's data-localize will change by js.
Then doing localize will cause issue
example:
if change the attr data-localize
Now I use workaround in my repository. The workaround seems so ugly...
$("#....").data("localize", newValue).attr("data-localize", newValue)
The text was updated successfully, but these errors were encountered: