Really specific iframe hiding.

This commit is contained in:
Nicolas Stepien 2011-07-01 06:37:20 +02:00
parent 8a8d1af59b
commit d475581a52
2 changed files with 3 additions and 9 deletions

View File

@ -1233,7 +1233,8 @@
var iframe; var iframe;
g.callbacks.push(qr.cb.node); g.callbacks.push(qr.cb.node);
iframe = $.el('iframe', { iframe = $.el('iframe', {
name: 'iframe' name: 'iframe',
hidden: true
}); });
$.append(d.body, iframe); $.append(d.body, iframe);
$.bind(window, 'message', qr.cb.message); $.bind(window, 'message', qr.cb.message);
@ -2884,10 +2885,6 @@
max-width: 100%;\ max-width: 100%;\
width: -moz-calc(100%); /* hack so only firefox sees this */\ width: -moz-calc(100%); /* hack so only firefox sees this */\
}\ }\
\
iframe[name=iframe] {\
display: none;\
}\
\ \
#qp, #iHover {\ #qp, #iHover {\
position: fixed;\ position: fixed;\

View File

@ -969,6 +969,7 @@ qr =
g.callbacks.push qr.cb.node g.callbacks.push qr.cb.node
iframe = $.el 'iframe', iframe = $.el 'iframe',
name: 'iframe' name: 'iframe'
hidden: true
$.append d.body, iframe $.append d.body, iframe
$.bind window, 'message', qr.cb.message $.bind window, 'message', qr.cb.message
@ -2276,10 +2277,6 @@ main =
width: -moz-calc(100%); /* hack so only firefox sees this */ width: -moz-calc(100%); /* hack so only firefox sees this */
} }
iframe[name=iframe] {
display: none;
}
#qp, #iHover { #qp, #iHover {
position: fixed; position: fixed;
} }