Add new version in repository
This commit is contained in:
@@ -2,9 +2,13 @@
|
||||
@push('scripts')
|
||||
<script type="text/javascript" src="{{ asset('/assets/plugins/jquery.slimscroll.min.js') }}"></script>
|
||||
<script>
|
||||
function initScroll(selector) {
|
||||
function initScroll(selector, options) {
|
||||
var selector = (typeof(selector) == 'undefined') ? '.nicescrollable' : selector;
|
||||
|
||||
var options = (typeof(options) == 'undefined') ? '' : options;
|
||||
|
||||
$(selector).niceScroll(options);
|
||||
/*
|
||||
$(selector).niceScroll({
|
||||
horizrailenabled: false,
|
||||
cursorborder: "0",
|
||||
@@ -21,6 +25,7 @@
|
||||
cursorborderradius: 0,
|
||||
railpadding: {top:0,right:1,left:0,bottom:0}
|
||||
});
|
||||
*/
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user