Fixed materialize slider shit

This commit is contained in:
Kasper Rynning-Tønnesen
2015-07-20 15:16:59 +02:00
parent 985448bdcd
commit da56e503f0
2 changed files with 10 additions and 10 deletions

View File

@@ -1,8 +1,8 @@
/*! /*!
* Materialize v0.97.0 (http://materializecss.com) * Materialize v0.97.0 (http://materializecss.com)
* Copyright 2014-2015 Materialize * Copyright 2014-2015 Materialize
* MIT License (https://raw.githubusercontent.com/Dogfalo/materialize/master/LICENSE) * MIT License (https://raw.githubusercontent.com/Dogfalo/materialize/master/LICENSE)
*/ */
/* /*
* jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/ * jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/
* *
@@ -3190,7 +3190,7 @@ $(document).ready(function(){
}; };
$.fn.slider = function(methodOrOptions) { $.fn.materializeSlider = function(methodOrOptions) {
if ( methods[methodOrOptions] ) { if ( methods[methodOrOptions] ) {
return methods[ methodOrOptions ].apply( this, Array.prototype.slice.call( arguments, 1 )); return methods[ methodOrOptions ].apply( this, Array.prototype.slice.call( arguments, 1 ));
} else if ( typeof methodOrOptions === 'object' || ! methodOrOptions ) { } else if ( typeof methodOrOptions === 'object' || ! methodOrOptions ) {

File diff suppressed because one or more lines are too long