From 3ad710c74d6512d4d28a30f989a3acb5d655a583 Mon Sep 17 00:00:00 2001 From: Dan Ventura Date: Mon, 11 Apr 2011 22:36:14 -0400 Subject: [PATCH] removed id property (not necessary) --- plugins/facebook/popcorn.facebook.html | 4 ---- plugins/facebook/popcorn.facebook.js | 3 +-- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/plugins/facebook/popcorn.facebook.html b/plugins/facebook/popcorn.facebook.html index 3a02e1f..d14abfd 100644 --- a/plugins/facebook/popcorn.facebook.html +++ b/plugins/facebook/popcorn.facebook.html @@ -11,12 +11,10 @@ .volume(0) .play() .facebook({ - id: "fb-like", type: "LIKE", target: 'likediv' } ) .facebook({ - id: "fb-likebox", href: "http://www.facebook.com/senecacollege", type: "LIKE-BOX", show_faces: "true", @@ -24,13 +22,11 @@ target: 'likeboxdiv' } ) .facebook({ - id: "fb-feed", href: "http://popcornjs.org/", type: "ACTIVITY", target: 'activitydiv' } ) .facebook({ - id: "fb-facepile", href: "http://www.facebook.com/senecacollege", type: "FACEPILE", target: 'facepilediv' diff --git a/plugins/facebook/popcorn.facebook.js b/plugins/facebook/popcorn.facebook.js index 7e2b6c3..9155205 100644 --- a/plugins/facebook/popcorn.facebook.js +++ b/plugins/facebook/popcorn.facebook.js @@ -15,7 +15,6 @@ * Example: var p = Popcorn('#video') .facebook({ - id: "fb-likebox", href: "http://www.facebook.com/senecacollege", type: "LIKE-BOX", show_faces: "true", @@ -46,7 +45,7 @@ // facebook script requires a div named fb-root if( !document.getElementById('fb-root') ) { var fbRoot = document.createElement( 'div' ); - fbRoot.id = "fb-root"; + fbRoot.setAttribute('id', "fb-root"); document.body.appendChild( fbRoot ); //initialize facebook JS SDK window.fbAsyncInit = function() { -- 2.43.0