Merge pull request #885 from lucmuller/master
[HOTFIX/884]Fixes Uncaught TypeError: Cannot read properties of null …
This commit is contained in:
commit
8eaef13e2b
|
|
@ -12,7 +12,7 @@ tarteaucitron.services.iframe = {
|
||||||
"js": function () {
|
"js": function () {
|
||||||
"use strict";
|
"use strict";
|
||||||
tarteaucitron.fallback(['tac_iframe'], function (x) {
|
tarteaucitron.fallback(['tac_iframe'], function (x) {
|
||||||
var frame_title = tarteaucitron.fixSelfXSS(x.getAttribute("title")),
|
var frame_title = (x.getAttribute("title")) ? tarteaucitron.fixSelfXSS(x.getAttribute("title")) : '',
|
||||||
width = x.getAttribute("width"),
|
width = x.getAttribute("width"),
|
||||||
height = x.getAttribute("height"),
|
height = x.getAttribute("height"),
|
||||||
allowfullscreen = x.getAttribute("allowfullscreen"),
|
allowfullscreen = x.getAttribute("allowfullscreen"),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue