pushing small js fixes
This commit is contained in:
parent
663b99924f
commit
5e5dea85a8
2 changed files with 26 additions and 17 deletions
|
|
@ -1,19 +1,28 @@
|
||||||
$(document).ready(function(){
|
$(document).ready(function(){
|
||||||
|
$('a').hover(function(){
|
||||||
$('a').hover(function(){
|
$(this).fadeTo(60, 0.5);
|
||||||
$(this).fadeTo(60, 0.5);
|
}, function(){
|
||||||
}, function(){
|
$(this).fadeTo(80, 1);
|
||||||
$(this).fadeTo(80, 1);
|
});
|
||||||
});
|
|
||||||
|
|
||||||
$('ul.nav li').hover(function(){
|
$('ul.nav li').hover(function(){
|
||||||
$(this).fadeTo(60, 0.5);
|
$(this).fadeTo(60, 0.5);
|
||||||
}, function(){
|
}, function(){
|
||||||
$(this).fadeTo(80, 1);
|
$(this).fadeTo(80, 1);
|
||||||
});
|
});
|
||||||
|
|
||||||
$('#status_message_message').click(function() {
|
$('#status_message_message').click(function() {
|
||||||
$(this).val("")
|
$(this).val("")
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
$(".button").click(function() {
|
||||||
|
$('button[type=submit] .default').click(function() {
|
||||||
|
$('#status_message_message').delay(2000).val("");
|
||||||
|
})
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
});
|
});//end document ready
|
||||||
|
|
@ -27,7 +27,7 @@ Rspec.configure do |config|
|
||||||
|
|
||||||
config.before(:each) do
|
config.before(:each) do
|
||||||
DatabaseCleaner.start
|
DatabaseCleaner.start
|
||||||
WebSocket.stub!(:update_clients)
|
#WebSocket.stub!(:update_clients)
|
||||||
end
|
end
|
||||||
|
|
||||||
config.after(:each) do
|
config.after(:each) do
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue