mirror of
https://github.com/openstf/stf
synced 2025-10-05 10:39:25 +02:00
Refactored basic mode to a directive.
This commit is contained in:
parent
eb3e7a40cc
commit
6429a681be
6 changed files with 45 additions and 9 deletions
|
@ -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) {
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue