Shortens notification time

Separates bot configuration to its own method to allow for repeat use. Also main.go should be small
Now reloads bot configuration on the save post. Active changes!
This commit is contained in:
Scott
2016-08-12 22:33:44 +10:00
parent 544f94553a
commit dc3de32a2c
3 changed files with 22 additions and 1 deletions

View File

@@ -11,7 +11,7 @@ angular.module('myApp', [
]).
config(['$locationProvider', '$routeProvider' ,'NotificationProvider', function($locationProvider, $routeProvider, NotificationProvider) {
NotificationProvider.setOptions({
delay: 10000,
delay: 5000,
startTop: 60,
startRight: 10,
verticalSpacing: 10,