nutella_framework 0.4.31 → 0.4.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -124,7 +124,12 @@ var Channel = React.createClass({
124
124
  var value = this.refs['textFieldUrl' + this.props.channelId].getValue();
125
125
  switch(this.props.channel.type) {
126
126
  case 'web':
127
- value = 'http://' + value;
127
+ var prefix = value.slice(0, 7);
128
+ if(prefix === 'http://') {
129
+ // do nothing
130
+ } else {
131
+ value = 'http://' + value;
132
+ }
128
133
  break;
129
134
  case 'iOS':
130
135
  value = value + '://';