Commit 3bfb604aab8546b5480bcb36b983859a1c1cff0f

Authored by deaflynx
1 parent 60bd2600

Edge events refactored

... ... @@ -150,10 +150,10 @@ export default function EventRowDirective($compile, $templateCache, $mdDialog, $
150 150 }
151 151 }
152 152
153   - scope.checkEdgeEventType = function (edgeEventType) {
154   - return !(edgeEventType === types.edgeEventType.widgetType ||
155   - edgeEventType === types.edgeEventType.adminSettings ||
156   - edgeEventType === types.edgeEventType.widgetsBundle );
  153 + scope.checkEdgeEventType = function (type) {
  154 + return !(type === types.edgeEventType.widgetType ||
  155 + type === types.edgeEventType.adminSettings ||
  156 + type === types.edgeEventType.widgetsBundle );
157 157 }
158 158
159 159 scope.checkTooltip = function($event) {
... ...