mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 08:03:30 +02:00
Fix all res/ files with ESLint rules with 0 errors.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
module.exports = function basicModeDirective($rootScope, BrowserInfo) {
|
||||
return {
|
||||
restrict: 'AE',
|
||||
link: function (scope, element) {
|
||||
link: function(scope, element) {
|
||||
$rootScope.basicMode = !!BrowserInfo.mobile
|
||||
if ($rootScope.basicMode) {
|
||||
element.addClass('basic-mode')
|
||||
|
||||
Reference in New Issue
Block a user