mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-16 18:44:01 +02:00
grunt dist
This commit is contained in:
3
js/dist/collapse.js
vendored
3
js/dist/collapse.js
vendored
@@ -314,6 +314,9 @@ var Collapse = (function ($) {
|
||||
}
|
||||
|
||||
if (typeof config === 'string') {
|
||||
if (data[config] === undefined) {
|
||||
throw new Error('No method named "' + config + '"');
|
||||
}
|
||||
data[config]();
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user