mirror of https://github.com/twbs/bootstrap.git
delete this test for now - as affix is still heavily underdevelopment
This commit is contained in:
parent
5247b15411
commit
614d52bd7f
|
|
@ -16,10 +16,4 @@ $(function () {
|
||||||
ok(!$affix.hasClass('affix'), 'affix class was not added')
|
ok(!$affix.hasClass('affix'), 'affix class was not added')
|
||||||
})
|
})
|
||||||
|
|
||||||
test("should add affix class if scrolled to correct position", function () {
|
|
||||||
var $affix = $('<div></div>').appendTo('body').affix()
|
|
||||||
$('body').trigger('scroll')
|
|
||||||
ok($affix.hasClass('affix'), 'element has class affix')
|
|
||||||
})
|
|
||||||
|
|
||||||
})
|
})
|
||||||
Loading…
Reference in New Issue