From 84d0264b9cc2ffe513aba561e0bcae7fbcd5f658 Mon Sep 17 00:00:00 2001 From: David Seifried Date: Thu, 23 Jun 2011 14:35:49 -0400 Subject: [PATCH] [#594] Added some validation for options.license --- plugins/attribution/popcorn.attribution.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/attribution/popcorn.attribution.js b/plugins/attribution/popcorn.attribution.js index 72174b6..703ea96 100755 --- a/plugins/attribution/popcorn.attribution.js +++ b/plugins/attribution/popcorn.attribution.js @@ -64,7 +64,7 @@ _setup: function( options ) { var attrib = "", - license = licenses[ options.license.toLowerCase() ], + license = options.license && licenses[ options.license.toLowerCase() ], tar = "target=_blank"; // make a div to put the information into -- 2.43.0