diff --git a/src/project/SidebarView.js b/src/project/SidebarView.js index e6b347e1dfe..b5fd2326e0f 100644 --- a/src/project/SidebarView.js +++ b/src/project/SidebarView.js @@ -97,8 +97,8 @@ define(function (require, exports, module) { * Returns the visibility state of the sidebar. * @return {boolean} true if element is visible, false if it is not visible */ - function visible() { - return Resizer.visible($sidebar); + function isVisible() { + return Resizer.isVisible($sidebar); } // Initialize items dependent on HTML DOM @@ -157,5 +157,5 @@ define(function (require, exports, module) { exports.toggle = toggle; exports.show = show; exports.hide = hide; - exports.visible = visible; + exports.isVisible = isVisible; }); \ No newline at end of file diff --git a/src/utils/Resizer.js b/src/utils/Resizer.js index d1c327562c9..f8d967cd2b4 100644 --- a/src/utils/Resizer.js +++ b/src/utils/Resizer.js @@ -111,7 +111,7 @@ define(function (require, exports, module) { * @param {DOMNode} element Html element to toggle * @return {boolean} true if element is visible, false if it is not visible */ - function visible(element) { + function isVisible(element) { return $(element).is(":visible"); } @@ -441,7 +441,7 @@ define(function (require, exports, module) { exports.toggle = toggle; exports.show = show; exports.hide = hide; - exports.visible = visible; + exports.isVisible = isVisible; //Resizer Constants exports.DIRECTION_VERTICAL = DIRECTION_VERTICAL;