Skip to content

Commit

Permalink
Changelog for #3201 + build JS stuff for #3202
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonkelly committed Aug 15, 2018
1 parent 1f725cc commit fce3cb1
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 6 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG-v3.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Release Notes for Craft CMS 3.x

## Unreleased

### Security
- External links in the Control Panel now set `rel="noopener"`. ([#3201](https://github.com/craftcms/cms/issues/3201))

## 3.0.20 - 2018-08-14

### Added
Expand Down
4 changes: 2 additions & 2 deletions src/web/assets/cp/dist/js/Craft.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! - 2018-08-14 */
/*! - 2018-08-15 */
(function($){

/** global: Craft */
Expand Down Expand Up @@ -10874,7 +10874,7 @@ Craft.CP = Garnish.Base.extend(
// hat tip: https://stackoverflow.com/a/2911045/1688568
$('a').each(function() {
if (this.hostname.length && this.hostname !== location.hostname && typeof $(this).attr('target') === 'undefined') {
$(this).attr('target', '_blank')
$(this).attr('rel', 'noopener').attr('target', '_blank')
}
});
},
Expand Down
2 changes: 1 addition & 1 deletion src/web/assets/cp/dist/js/Craft.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/web/assets/cp/dist/js/Craft.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/web/assets/pluginstore/dist/js/main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/web/assets/pluginstore/dist/js/main.js.map

Large diffs are not rendered by default.

0 comments on commit fce3cb1

Please sign in to comment.