Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'js/dist/dom/manipulator.js')
-rw-r--r--js/dist/dom/manipulator.js11
1 files changed, 0 insertions, 11 deletions
diff --git a/js/dist/dom/manipulator.js b/js/dist/dom/manipulator.js
index eecca58028..d5dfb448f5 100644
--- a/js/dist/dom/manipulator.js
+++ b/js/dist/dom/manipulator.js
@@ -77,17 +77,6 @@
top: element.offsetTop,
left: element.offsetLeft
};
- },
- toggleClass: function toggleClass(element, className) {
- if (!element) {
- return;
- }
-
- if (element.classList.contains(className)) {
- element.classList.remove(className);
- } else {
- element.classList.add(className);
- }
}
};