Skip to content

Commit 94fa610

Browse files
author
@soyjavi
committed
Release 3.0.6 - Fix error when you need set a string_empty value to a determinate attribute
1 parent 7c234c5 commit 94fa610

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

source/quo.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ Quo = do ->
183183

184184
$$.fn.indexOf = EMPTY_ARRAY.indexOf
185185

186-
$$.version = "3.0.5"
186+
$$.version = "3.0.6"
187187

188188
$$
189189

source/quo.element.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ do ($$ = Quo) ->
1919
###
2020
$$.fn.attr = (name, value) ->
2121
if @length > 0 and $$.toType(name) is "string"
22-
if value
22+
if value?
2323
@each -> @setAttribute name, value
2424
else
2525
@[0].getAttribute name

0 commit comments

Comments
 (0)