Updated embed_videos to insert its Javascript later in the page, so jQuery will be initialized.
This commit is contained in:
parent
bd35167777
commit
3d7ebaf747
@ -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")
|
||||
|
Reference in New Issue
Block a user