Commit ec75bd6a594b5d77f362f08623899aaf601ac0d8

Authored by isisadmin
1 parent d0de5d86

fullsize page controllet

controllets/fullsize-page-with-card-controllet/fullsize-page-with-card-controllet.html
... ... @@ -50,7 +50,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
50 50 <div id="fixed" class$="[[_computeFixedBackgroundClass(color)]]"></div>
51 51 <div id="card" class$="[[_computeCardClass(color)]]">
52 52 <template is="dom-if" if="{{_checkUndefined(publicRoom)}}">
53   - <iframe src="/public-room/{{publicRoom}}" width="100%" height="100%"></iframe>
  53 + <iframe id="public_room_iframe" src="/public-room/{{publicRoom}}" width="100%" height="100%"></iframe>
54 54 </template>
55 55 </div>
56 56  
... ... @@ -121,8 +121,10 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
121 121  
122 122 _checkUndefined: function(variable)
123 123 {
124   - if(typeof variable === 'undefined')
  124 + if(typeof variable === 'undefined') {
  125 + public_room_iframe.src = "";
125 126 return false;
  127 + }
126 128 return true;
127 129 },
128 130  
... ...