assets/javascripts/bookingsync/form.js in bootstrap-bookingsync-sass-2.0.0 vs assets/javascripts/bookingsync/form.js in bootstrap-bookingsync-sass-3.0.0

- old
+ new

@@ -3,10 +3,10 @@ * ======================================================================== * Copyright 2015 BookingSync SAS. * Licensed under MIT (https://github.com/BookingSync/styleguide/blob/master/LICENSE) * ======================================================================== */ -let setInputFilledValue = function(elt) { +var setInputFilledValue = function(elt) { $(elt).parents('.form-group').toggleClass('filled', !!$(elt).val()); }; +function($, document) { 'use strict';