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