mirror of
https://github.com/Threnklyn/MinecraftChat.git
synced 2026-05-22 14:18:28 +02:00
better location of add server button
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
module.exports = function($scope, servers) {
|
||||
|
||||
function resetForm() {
|
||||
$scope.name = '';
|
||||
$scope.ip = '';
|
||||
$scope.port = '';
|
||||
}
|
||||
|
||||
$scope.servers = servers.get();
|
||||
|
||||
$scope.add = function() {
|
||||
@@ -19,10 +25,4 @@ module.exports = function($scope, servers) {
|
||||
$scope.servers = servers.get();
|
||||
};
|
||||
|
||||
function resetForm() {
|
||||
$scope.name = '';
|
||||
$scope.ip = '';
|
||||
$scope.port = '';
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user