bootstrap-switch icon indicating copy to clipboard operation
bootstrap-switch copied to clipboard

Getting started needs an update???

Open domlat opened this issue 8 years ago • 1 comments

We followed the "getting started" and found that the width calculations weren't working too well. Then we discovered that the code really needs to run after the document is ready: $(function () { $("[name=\'modeswitch\']").bootstrapSwitch(); }); So perhaps the "getting started" section could be updated.

domlat avatar Apr 20 '17 15:04 domlat

This is not necessarily the functionality desired by all users. Switch initialization may be bound to other events than $(document).ready();

k4m1113 avatar Sep 05 '17 00:09 k4m1113