Commit fcb8da99c7f57da393045fe7eba150a40d408e8b

Authored by isisadmin
1 parent 84242065

bug fix

controllets/create-card-controllet/create-card-controllet.html
@@ -121,8 +121,6 @@ @@ -121,8 +121,6 @@
121 id="create_card_link" 121 id="create_card_link"
122 value="{{link}}" 122 value="{{link}}"
123 label="link" 123 label="link"
124 - auto-validate  
125 - pattern="^(https?:\/\/)?([\da-z\.-]+)\.([a-z\.]{2,6})([\/\w \.-]*)*\/?$"  
126 error-message="Invalid link"> 124 error-message="Invalid link">
127 </paper-input> 125 </paper-input>
128 126
@@ -219,7 +217,7 @@ @@ -219,7 +217,7 @@
219 if (value.indexOf("http") != 0) 217 if (value.indexOf("http") != 0)
220 value = "http://" + value; 218 value = "http://" + value;
221 219
222 - if(!link.invalid && value.length > 16) { 220 + if(/*!link.invalid &&*/ value.length > 16) {
223 iframe.setAttribute("src", value); 221 iframe.setAttribute("src", value);
224 this.link = value; 222 this.link = value;
225 this._resize(); 223 this._resize();