Closed
Description
When trying to set a data attribute to boolean values -- if the value is false, it sets it to "".
displayed here: http://jsbin.com/puviteme/1/edit
You can inspect via DOM inspector, or run this in the jsbin console to confirm
$('li').eq(0).data('value');
""
$('li').eq(1).data('value');
true