mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
That should have been a string, not a number
This commit is contained in:
parent
3728a8ac04
commit
26034c4a29
2
src/jquery/jquery.js
vendored
2
src/jquery/jquery.js
vendored
@ -1537,7 +1537,7 @@ jQuery.extend({
|
|||||||
}
|
}
|
||||||
|
|
||||||
return elem.filter ?
|
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
|
// Certain attributes only work when accessed via the old DOM 0 way
|
||||||
|
Loading…
Reference in New Issue
Block a user