From 3d7ebaf747b5e78ca7372e322ad67ba718e82e6c Mon Sep 17 00:00:00 2001 From: colings Date: Mon, 21 Feb 2011 14:39:44 -0600 Subject: [PATCH] Updated embed_videos to insert its Javascript later in the page, so jQuery will be initialized. --- 3.0/modules/embed_videos/helpers/embed_videos_theme.php | 2 +- 3.1/modules/embed_videos/helpers/embed_videos_theme.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/3.0/modules/embed_videos/helpers/embed_videos_theme.php b/3.0/modules/embed_videos/helpers/embed_videos_theme.php index bf921b21..61b7000a 100644 --- a/3.0/modules/embed_videos/helpers/embed_videos_theme.php +++ b/3.0/modules/embed_videos/helpers/embed_videos_theme.php @@ -18,7 +18,7 @@ * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ class embed_videos_theme_Core { - static function head($theme) { + static function page_top($theme) { $item = $theme->item(); if ($item && $item->is_photo()) { $embedded_video = ORM::factory("embedded_video") diff --git a/3.1/modules/embed_videos/helpers/embed_videos_theme.php b/3.1/modules/embed_videos/helpers/embed_videos_theme.php index bf921b21..61b7000a 100644 --- a/3.1/modules/embed_videos/helpers/embed_videos_theme.php +++ b/3.1/modules/embed_videos/helpers/embed_videos_theme.php @@ -18,7 +18,7 @@ * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ class embed_videos_theme_Core { - static function head($theme) { + static function page_top($theme) { $item = $theme->item(); if ($item && $item->is_photo()) { $embedded_video = ORM::factory("embedded_video")