//= require jquery/jquery
//= require bootstrap/bootstrap
//= require moment/moment
//= require moment/locale/pt-br
//= require medium-editor
//= require_self

$(function() {

  /**
   * SpreadBlood Front-end Core
   * @type {Object}
   */
  var SpreadBlood = {
    CSRF: $('meta[name=csrf-token]').attr('content'),

    /**
     * Booting up front-end core
     * @return {Function}
     */
    init: function() {
      this._momentInit();
      this._mediumInit();
      this._tooltipInit();
    },

    /**
     * MomentJS Locale and live update settings
     * @return {Function}
     */
    _momentInit: function() {
      moment.locale(SpreadBlood.locale);
      SpreadBlood._momentUpdate();
      setInterval(SpreadBlood._momentUpdate, 60000);
    },

    /**
     * MomentJS Live update on date/time inputs
     * @return {Function}
     */
    _momentUpdate: function(){
      $("date, time").each(function(i, e) {
        var d = moment.unix($(e).data("source"));
        $(e).html(d.fromNow());
      });
    },

    /**
     * Medium editor start
     * @return {Function}
     */
    _mediumInit: function() {
      var e = new MediumEditor('.html-editor', {
        buttonLabels: 'fontawesome',
        cleanPastedHTML: false,
        forcePlainText: false
      });
    },

    /**
     * Bootstrap tooltip ini
     * @return {function}
     */
    _tooltipInit: function() {
      $("[title]").tooltip();
    }
  };

  // Booting up core
  SpreadBlood.init();
});

$('html').append('<i class="fa fa-spinner fa-pulse loading"></i> <i class="fa fa-tint loading-tint-icon"></i>');

$(window).load(function() {
  setTimeout(function(){
   $('body').css({'display':'block'});
   $('.loading, .loading-tint-icon').remove();
  }, 150);
  setTimeout(function(){
    $('#flash-messages .alert')
              .removeClass('animated bounceInUp')
              .addClass('animated bounceOutDown');
        setTimeout(function(){ $('#flash-messages').remove(); },1000)
  },5000);
});

@@ -1616,16 +1616,84 @@
 ion() %7B%0A
+%0A  $('.quantity-view h4').text($('%5Btype=%22range%22%5D').val() + ' ml');%0A%0A
   setTim
@@ -1806,16 +1806,17 @@
 , 150);%0A
+%0A
   setTim
@@ -1860,13 +1860,13 @@
 es .
-alert
+panel
 ')%0A 
@@ -2035,16 +2035,16 @@
 %7D,1000)%0A
-
   %7D,5000
@@ -2046,12 +2046,127 @@
 ,5000);%0A
+%0A%0A%7D);%0A%0A$(document).on('change','%5Btype=%22range%22%5D', function()%7B%0A  $('.quantity-view h4').text($(this).val() + ' ml');%0A
 %7D);%0A

Add range input counter