mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 22:57:14 +02:00
Bootswitch styling.
This commit is contained in:
3
e107_web/js/bootstrap.switch.init.js
vendored
3
e107_web/js/bootstrap.switch.init.js
vendored
@@ -21,7 +21,8 @@ var e107 = e107 || {'settings': {}, 'behaviors': {}};
|
||||
$(this).bootstrapSwitch({
|
||||
size: options.size || 'mini',
|
||||
onText: options.onText || null,
|
||||
offText: options.offText || null
|
||||
offText: options.offText || null,
|
||||
wrapperClass: options.wrapperClass || null
|
||||
});
|
||||
});
|
||||
});
|
||||
|
@@ -454,7 +454,7 @@ $(document).ready(function()
|
||||
});
|
||||
|
||||
// run tips on .field-help
|
||||
$("div.tbox,div.checkboxes,input,textarea,select,label,.e-tip").each(function(c) {
|
||||
$("div.tbox,div.checkboxes,input,textarea,select,label,.e-tip,div.form-control").each(function(c) {
|
||||
|
||||
var t = $(this).nextAll(".field-help");
|
||||
|
||||
@@ -484,6 +484,7 @@ $(document).ready(function()
|
||||
html: true,
|
||||
opacity: 1.0,
|
||||
placement: placement,
|
||||
container: 'body',
|
||||
delay: { show: 300, hide: 600 }
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user