diff options
author | Sem <sembrestels@riseup.net> | 2013-11-07 03:19:39 +0100 |
---|---|---|
committer | Sem <sembrestels@riseup.net> | 2013-11-07 03:19:39 +0100 |
commit | 24e097f126aee59206c7f44e2b37b915d85dfd23 (patch) | |
tree | 3bdcc75975898262d364454ef15b36a62cfb0840 /views/default/object | |
parent | 5a051b09c63a5d2b58e4cd7d93cdf747181a60b1 (diff) | |
download | elgg-24e097f126aee59206c7f44e2b37b915d85dfd23.tar.gz elgg-24e097f126aee59206c7f44e2b37b915d85dfd23.tar.bz2 |
Setting responsive dimensions.
Diffstat (limited to 'views/default/object')
-rw-r--r-- | views/default/object/videolist_item.php | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/views/default/object/videolist_item.php b/views/default/object/videolist_item.php index 474394288..5789c8475 100644 --- a/views/default/object/videolist_item.php +++ b/views/default/object/videolist_item.php @@ -61,12 +61,7 @@ if (elgg_in_context('widgets')) { if ($full && !elgg_in_context('gallery')) { - $dimensions = elgg_get_config('videolist_dimensions'); - $content = elgg_view("videolist/watch", array( - 'entity' => $entity, - 'width' => (int) $dimensions['width'], - 'height' => (int) $dimensions['height'], - )); + $content = elgg_view("videolist/watch", $vars); $content = "<div class=\"videolist-watch\">$content</div>"; $params = array( |