Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 583ede1

Browse files
author
Tero Piirainen
committed
name attribute for flashembed
1 parent 9d3461a commit 583ede1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/toolbox/toolbox.flashembed.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,10 @@
148148
opts = extend({}, opts);
149149

150150
/******* OBJECT tag and it's attributes *******/
151-
var html = '<object width="' + opts.width + '" height="' + opts.height + '" id="' + opts.id + '"';
151+
var html = '<object width="' + opts.width +
152+
'" height="' + opts.height +
153+
'" id="' + opts.id + '"' +
154+
'" name="' + opts.id + '"';
152155

153156
if (opts.cachebusting) {
154157
opts.src += ((opts.src.indexOf("?") != -1 ? "&" : "?") + Math.random());

0 commit comments

Comments
 (0)