r92077 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r92076
|
r92077
|
r92078
>
Date:
18:33, 13 July 2011
Author:
brion
Status:
ok
Tags:
Comment:
* (
bug 29592
) WebChat extension iframe width fix: let the width fit the window rather than hardcoding based on screen width
Applied patch submitted by Maymond Martineau, with comments removed:
https://bugzilla.wikimedia.org/attachment.cgi?id=8708
Modified paths:
/trunk/extensions/WebChat/WebChat_body.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/extensions/WebChat/WebChat_body.php
—
—
@@ -37,7 +37,7 @@
38
38
$query = implode( $query, '&' );
39
39
40
40
$wgOut->addHTML( Xml::openElement( 'iframe', array(
41
- 'width' => '600',
41
+ 'width' => '100%',
42
42
'height' => '500',
43
43
'scrolling' => 'no',
44
44
'border' => '0',
—
—
@@ -51,9 +51,7 @@
52
52
'/* <![CDATA[ */
53
53
function webChatExpand( elem ) {
54
54
height = elem.height;
55
- width = elem.width;
56
55
elem.height = screen.height - 500;
57
- elem.width = screen.width - 250;
58
56
}
59
57
/* ]]> */'
60
58
) );
Status & tagging log
18:51, 13 July 2011
Aaron Schulz
(
talk
|
contribs
)
changed the
status
of r92077
[
removed:
new
added:
ok]