mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-05-04 20:54:46 +00:00
small tweak to teardown and setup
This commit is contained in:
parent
96d0973b6f
commit
8724132d16
1 changed files with 1 additions and 5 deletions
|
|
@ -3,14 +3,10 @@
|
|||
*/
|
||||
|
||||
(function( $ ) {
|
||||
var css_fn;
|
||||
var css_fn = $.fn.css;
|
||||
|
||||
// make sure the original definition is replaced
|
||||
module('mobile.media', {
|
||||
setup: function(){
|
||||
css_fn = $.fn.css;
|
||||
},
|
||||
|
||||
teardown: function(){
|
||||
$.fn.css = css_fn;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue