You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

6 lines
980 B

/*!
* stack-admin-theme (https://pixinvent.com/bootstrap-admin-template/stack)
* Copyright 2018 PIXINVENT
* Licensed under the Themeforest Standard Licenses
*/
!function(window,document,$){"use strict";var i=($("html"),0);if(Array.prototype.forEach){var elems=$(".switchery");$.each(elems,function(key,value){var $size="",$color="",$sizeClass="",$colorCode="";$size=$(this).data("size");var $sizes={lg:"large",sm:"small",xs:"xsmall"};$sizeClass=void 0!==$(this).data("size")?"switchery switchery-"+$sizes[$size]:"switchery",$color=$(this).data("color");var $colors={primary:"#967ADC",success:"#37BC9B",danger:"#DA4453",warning:"#F6BB42",info:"#3BAFDA"};$colorCode=void 0!==$color?$colors[$color]:"#37BC9B";new Switchery($(this)[0],{className:$sizeClass,color:$colorCode})})}else{var elems1=document.querySelectorAll(".switchery");for(i=0;i<elems1.length;i++){elems1[i].data("size"),elems1[i].data("color"),new Switchery(elems1[i],{color:"#37BC9B"})}}}(window,document,jQuery);