Permalink
Browse files

Updated embed_videos to insert its Javascript later in the page, so j…

…Query will be initialized.
  • Loading branch information...
1 parent bd35167 commit 3d7ebaf747b5e78ca7372e322ad67ba718e82e6c colings committed Feb 21, 2011
@@ -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")
@@ -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")

0 comments on commit 3d7ebaf

Please sign in to comment.