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/src/dom/manipulator.js')
-rw-r--r--js/src/dom/manipulator.js12
1 files changed, 0 insertions, 12 deletions
diff --git a/js/src/dom/manipulator.js b/js/src/dom/manipulator.js
index a81354e785..750ee115e0 100644
--- a/js/src/dom/manipulator.js
+++ b/js/src/dom/manipulator.js
@@ -72,18 +72,6 @@ const Manipulator = {
top: element.offsetTop,
left: element.offsetLeft
}
- },
-
- toggleClass(element, className) {
- if (!element) {
- return
- }
-
- if (element.classList.contains(className)) {
- element.classList.remove(className)
- } else {
- element.classList.add(className)
- }
}
}