diff --git a/docs/app/src/examples.js b/docs/app/src/examples.js index b39acb895c8c..2d882ea25f45 100644 --- a/docs/app/src/examples.js +++ b/docs/app/src/examples.js @@ -2,7 +2,12 @@ angular.module('examples', []) .factory('formPostData', ['$document', function($document) { return function(url, fields) { - var form = angular.element('
'); + /** + * Form previously posted to target="_blank", but pop-up blockers were causing this to not work. + * If a user chose to bypass pop-up blocker one time and click the link, they would arrive at + * a new default plnkr, not a plnkr with the desired template. + */ + var form = angular.element(''); angular.forEach(fields, function(value, name) { var input = angular.element(''); input.attr('value', value);