Browse Source

#2644 remove unnecessary call to remove direction in destroy

pull/2095/merge
jlukic 9 years ago
parent
commit
d74255fe57
2 changed files with 1 additions and 1 deletions
  1. 1
      RELEASE-NOTES.md
  2. 1
      src/definitions/modules/sidebar.js

1
RELEASE-NOTES.md

@ -21,6 +21,7 @@
- **Form** - Added `doesntContain` and `doesntContainExactly` #
- **Form** - Fixes errors when a field identifier is named `identifier` #2629
- **Formatting** - Fixed several source files that had `CR LF` (Windows) line endings #2649
- **Sidebar** - `right`, `top`, and `bottom` sidebar will not have their direction removed on `destroy` #2644
**Additional Bugs**
- **Popup** - `wide` and `very wide` popup will now limit themselves to normal popup widths on mobile so that they still appear on screen.

1
src/definitions/modules/sidebar.js

@ -120,7 +120,6 @@ $.fn.sidebar = function(parameters) {
destroy: function() {
module.verbose('Destroying previous module for', $module);
module.remove.direction();
$module
.off(eventNamespace)
.removeData(moduleNamespace)

Loading…
Cancel
Save