Skip to content
Snippets Groups Projects
Commit 7ce159ea authored by ands's avatar ands
Browse files

Stylesheet-fix

parent 822b214b
No related branches found
No related tags found
No related merge requests found
......@@ -4,9 +4,11 @@ require_once 'widgets/iWidget.php';
class TwitterWall implements iWidget
{
private $lines;
public function __construct($width, $height)
{
$this->lines = $width*$height/40000;
}
......@@ -19,7 +21,7 @@ class TwitterWall implements iWidget
$(document).ready(function(){
$(".tweet").tweet({
avatar_size: 55,
count: 6,
count: '.$this->lines.',
loading_text: "loading tweets...",
query: "#warpzone",
refresh_interval: 360
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment