]> khamidou — GitHub mirrors - popcorn-js.git/commitdiff
[#255] attribution case fixes
authorScottDowne <sdowne@learn.senecac.on.ca>
Tue, 11 Jan 2011 23:37:16 +0000 (18:37 -0500)
committerScottDowne <sdowne@learn.senecac.on.ca>
Tue, 11 Jan 2011 23:37:16 +0000 (18:37 -0500)
plugins/attribution/popcorn.attribution.js

index dd44fcc3986670bdc24a9d845cc28ad1415dea3e..96bd15efaf7801a5f686e8d03b7a94f0e84209ef 100644 (file)
               attrib += ", license: " + options.license;
             }
           } 
-        } else if (options.licenseUrl) {
-          attrib += ", <a href='" + options.licenseUrl + "' target='_blank'>license</a> ";
+        } else if (options.licenseurl) {
+          attrib += ", <a href='" + options.licenseurl + "' target='_blank'>license</a> ";
         }
         options._container.innerHTML  = attrib;
         if ( document.getElementById( options.target ) ) {