Skip to content

Commit

Permalink
[#1251] Adds frameBorder="0" to the resource view's embed iframe
Browse files Browse the repository at this point in the history
It's not valid HTML5, but there're no better ways so far AFAIK.
  • Loading branch information
vitorbaptista committed Feb 24, 2014
1 parent ddd21aa commit 09b3d62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/public/base/javascript/modules/resource-view-embed.js
Expand Up @@ -41,7 +41,7 @@ this.ckan.module('resource-view-embed', function (jQuery, _) {
}

function _iframeMarkup(url) {
var markup = '<iframe src="' + url + '"></iframe>';
var markup = '<iframe src="' + url + '" frameBorder="0"></iframe>';
return markup;
}

Expand Down

0 comments on commit 09b3d62

Please sign in to comment.