Skip to content
This repository has been archived by the owner on Jun 2, 2020. It is now read-only.

Commit

Permalink
MOBILE-1047 panels: Prevent to execute inline javascript
Browse files Browse the repository at this point in the history
  • Loading branch information
jleyva committed May 29, 2015
1 parent 75aa69a commit 9a9608e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mm.panels.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ MM.panels = {
html = '<div class="header-sub"><h2 id="tablet-page-title"></h2></div>' + html;
}
}
$('#panel-' + position).html($.parseHTML(html));

$('#panel-' + position).html(html);
// For Android, we open external links in a system browser. _blank -> external browser
MM.handleExternalLinks('#panel-'+position+' a[target="_blank"]');
// external -> External resources to the app
Expand Down

0 comments on commit 9a9608e

Please sign in to comment.