From d74255fe5709e4c49034450b189842b34e0d5a75 Mon Sep 17 00:00:00 2001 From: jlukic Date: Fri, 17 Jul 2015 12:46:08 -0400 Subject: [PATCH] #2644 remove unnecessary call to remove direction in destroy --- RELEASE-NOTES.md | 1 + src/definitions/modules/sidebar.js | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index 85524715c..07ef81832 100644 --- a/RELEASE-NOTES.md +++ b/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. diff --git a/src/definitions/modules/sidebar.js b/src/definitions/modules/sidebar.js index 72a4a748d..71575db15 100644 --- a/src/definitions/modules/sidebar.js +++ b/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)