Cleanup code for stf components.

This commit is contained in:
Gunther Brunner
2015-08-31 15:58:32 +09:00
parent 7ddd464ac3
commit bd493b210b
29 changed files with 3 additions and 189 deletions

View File

@@ -2,7 +2,7 @@ module.exports = function basicModeDirective($rootScope, BrowserInfo) {
return {
restrict: 'AE',
link: function (scope, element) {
$rootScope.basicMode = !!BrowserInfo.mobile // CHECK: use .mobile instead of .small
$rootScope.basicMode = !!BrowserInfo.mobile
if ($rootScope.basicMode) {
element.addClass('basic-mode')
}