mirror of
https://github.com/zulip/zulip.git
synced 2025-11-07 07:23:22 +00:00
This bug made it impossible to scrub realms where the string_id was a number, e.g. 123.zulipchat.com because confirmed_string_id === actual_string_id comparison failed due to one being a string and the other a number. Per http://api.jquery.com/data/#data-html5: Every attempt is made to convert the attribute's string value to a JavaScript value (this includes booleans, numbers, objects, arrays, and null). To retrieve a data-* attribute value as an unconverted string, use the attr() method.
1.6 KiB
1.6 KiB