BootstrapAdmin/Bootstrap.Admin/wwwroot/js/icon.js

11 lines
387 B
JavaScript

$(function () {
var $iconList = $('div.fontawesome-icon-list').on('click', 'a', function () {
window.console.log($(this).children('i').attr('class'));
return false;
});
$iconList.find('ul li').addClass('col-md-3 col-sm-4 col-xs-6');
$iconList.find('div').addClass('col-xs-6');
$('#main-content').scrollspy({ offset: 150, target: '.fa-nav' });
});