Skip to content

Commit

Permalink
Improve the layout of the picker.js options
Browse files Browse the repository at this point in the history
  • Loading branch information
zpaulovics committed Mar 21, 2015
1 parent 5070e3a commit 070eb8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/generators/datetimepicker_rails/install_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def create_pickers_js
$(document).on('ready page:change', function() {
$('.datetimepicker').datetimepicker({
// put here your custom picker options, that should be applied for all pickers
#{icons}
#{icons}
});
$('.datetimerange').each(function(){
Expand Down Expand Up @@ -138,7 +138,7 @@ def get_icons
icons += " today: \'#{options[:custom_icons][:today]}\',\n"
icons += " clear: \'#{options[:custom_icons][:clear]}\',\n"
icons += " close: \'#{options[:custom_icons][:close]}\'\n"
icons += " }\n"
icons += " }"
end

end
Expand Down

0 comments on commit 070eb8d

Please sign in to comment.