mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 23:53:29 +02:00
Update bower dependencies.
Update to latest bootstrap-ui 1.0.3. Change Wifi settings button and behaviour of several tooltips accordingly. Remove collapse elements since the animation breaks.
This commit is contained in:
@@ -12,11 +12,9 @@ module.exports = function DeviceSettingsCtrl($scope, $timeout) {
|
||||
}
|
||||
getWifiStatus()
|
||||
|
||||
$scope.toggleWifi = function () {
|
||||
$scope.toggleWifi = function (enable) {
|
||||
if ($scope.control) {
|
||||
$scope.control.setWifiEnabled(!$scope.wifiEnabled)
|
||||
$scope.wifiEnabled = !$scope.wifiEnabled
|
||||
$timeout(getWifiStatus, 300)
|
||||
$scope.control.setWifiEnabled(enable)
|
||||
$timeout(getWifiStatus, 2500)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user