missing semi colon
This commit is contained in:
parent
6dc8fab9dd
commit
47bcd8c518
|
@ -701,7 +701,7 @@ weechat.controller('WeechatCtrl', ['$rootScope', '$scope', '$store', '$timeout',
|
||||||
$scope.parseHash = function() {
|
$scope.parseHash = function() {
|
||||||
|
|
||||||
//Fill in url parameters, they take precedence over the stored settings, but store them
|
//Fill in url parameters, they take precedence over the stored settings, but store them
|
||||||
var params = $location.$$hash.split('&').map(function(val) {return {key: val.split('=')[0], value: val.split('=')[1]}});
|
var params = $location.$$hash.split('&').map(function(val) { return {key: val.split('=')[0], value: val.split('=')[1]}; });
|
||||||
var hostParam = params.find(function(p) { return p.key === 'host'; });
|
var hostParam = params.find(function(p) { return p.key === 'host'; });
|
||||||
var portParam = params.find(function(p) { return p.key === 'port'; });
|
var portParam = params.find(function(p) { return p.key === 'port'; });
|
||||||
var pathParam = params.find(function(p) { return p.key === 'path'; });
|
var pathParam = params.find(function(p) { return p.key === 'path'; });
|
||||||
|
|
Loading…
Reference in New Issue