That should have been a string, not a number
This commit is contained in:
parent
3728a8ac04
commit
26034c4a29
1 changed files with 1 additions and 1 deletions
2
src/jquery/jquery.js
vendored
2
src/jquery/jquery.js
vendored
|
@ -1537,7 +1537,7 @@ jQuery.extend({
|
|||
}
|
||||
|
||||
return elem.filter ?
|
||||
(parseFloat( elem.filter.match(/opacity=([^)]*)/)[1] ) / 100).toString() : 1;
|
||||
(parseFloat( elem.filter.match(/opacity=([^)]*)/)[1] ) / 100).toString() : "1";
|
||||
}
|
||||
|
||||
// Certain attributes only work when accessed via the old DOM 0 way
|
||||
|
|
Loading…
Reference in a new issue