| Index: appengine/sheriff_o_matic/ui/ct-popout-iframe.html
|
| diff --git a/appengine/sheriff_o_matic/ui/ct-popout-iframe.html b/appengine/sheriff_o_matic/ui/ct-popout-iframe.html
|
| index 953a5474806f29c9588f13fa07e785f550ada99c..541756373cc5657dbc69b709f3f5c66303db5419 100644
|
| --- a/appengine/sheriff_o_matic/ui/ct-popout-iframe.html
|
| +++ b/appengine/sheriff_o_matic/ui/ct-popout-iframe.html
|
| @@ -2,11 +2,8 @@
|
| Copyright 2014 The Chromium Authors. All rights reserved.
|
| Use of this source code is governed by a BSD-style license that can be
|
| found in the LICENSE file.
|
| --->
|
| -
|
| -<polymer-element name="ct-popout-iframe" attributes="src" noscript>
|
| - <template>
|
| - <style>
|
| +--><html><head><dom-module id="ct-popout-iframe">
|
| + <style>
|
| :host {
|
| display: flex;
|
| flex-direction: column;
|
| @@ -22,8 +19,15 @@ found in the LICENSE file.
|
| flex: 1;
|
| }
|
| </style>
|
| + <template>
|
|
|
| <iframe src="{{src}}"></iframe>
|
| - <div class="link"><a href="{{src}}" target="_blank">pop out to a new tab</a></div>
|
| + <div class="link"><a target="_blank" href$="{{src}}">pop out to a new tab</a></div>
|
| </template>
|
| -</polymer-element>
|
| + <script>
|
| + Polymer({
|
| + is: 'ct-popout-iframe',
|
| + properties: { src: { notify: true } }
|
| + });
|
| + </script>
|
| +</dom-module>
|
|
|