Browse Source

Make casing consistent #3774

pull/3792/head
Jack Lukic 9 years ago
parent
commit
465358bb78
1 changed files with 3 additions and 3 deletions
  1. 6
      src/definitions/modules/popup.js

6
src/definitions/modules/popup.js

@ -371,7 +371,7 @@ $.fn.popup = function(parameters) {
} }
}, },
supports: { supports: {
SVG: function() {
svg: function() {
return (typeof SVGGraphicsElement === undefined); return (typeof SVGGraphicsElement === undefined);
} }
}, },
@ -702,7 +702,7 @@ $.fn.popup = function(parameters) {
popup = calculations.popup; popup = calculations.popup;
parent = calculations.parent; parent = calculations.parent;
if(target.width === 0 && target.height === 0 && !module.is.SVG(target.element)) {
if(target.width === 0 && target.height === 0 && !module.is.svg(target.element)) {
module.debug('Popup target is hidden, no action taken'); module.debug('Popup target is hidden, no action taken');
return false; return false;
} }
@ -1014,7 +1014,7 @@ $.fn.popup = function(parameters) {
} }
}, },
svg: function(element) { svg: function(element) {
return module.supports.SVG() && (element instanceof SVGGraphicsElement);
return module.supports.svg() && (element instanceof SVGGraphicsElement);
}, },
active: function() { active: function() {
return $module.hasClass(className.active); return $module.hasClass(className.active);

Loading…
Cancel
Save