mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-20 12:55:26 +02:00
Refactored basic mode to a directive.
This commit is contained in:
@@ -1,10 +1,3 @@
|
||||
module.exports = function LayoutCtrl(FatalMessageService, BrowserInfo, $rootScope) {
|
||||
|
||||
$rootScope.basicMode = false
|
||||
if (BrowserInfo.small) {
|
||||
$rootScope.basicMode = true
|
||||
} else {
|
||||
$rootScope.basicMode = false
|
||||
}
|
||||
module.exports = function LayoutCtrl(FatalMessageService) {
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user