Skip to content

Commit e6d76d3

Browse files
author
crypt
committed
id fix
1 parent a761c18 commit e6d76d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jquery.webcam.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
var source = '<object id="webcam-object" type="application/x-shockwave-flash" data="'+webcam.swffile+'" width="'+webcam.width+'" height="'+webcam.height+'"><param name="movie" value="'+webcam.swffile+'" /><param name="FlashVars" value="mode='+webcam.mode+'&amp;quality='+webcam.quality+'" /></object>';
4747

4848
if (null !== webcam.id) {
49-
$(webcam.id).html(source);
49+
$('#' + webcam.id).html(source);
5050
} else {
5151
this.append(source);
5252
}

0 commit comments

Comments
 (0)