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(){
|
||||
|
||||
$('a').hover(function(){
|
||||
$(this).fadeTo(60, 0.5);
|
||||
}, function(){
|
||||
$(this).fadeTo(80, 1);
|
||||
});
|
||||
$(document).ready(function(){
|
||||
$('a').hover(function(){
|
||||
$(this).fadeTo(60, 0.5);
|
||||
}, function(){
|
||||
$(this).fadeTo(80, 1);
|
||||
});
|
||||
|
||||
$('ul.nav li').hover(function(){
|
||||
$(this).fadeTo(60, 0.5);
|
||||
}, function(){
|
||||
$(this).fadeTo(80, 1);
|
||||
});
|
||||
$('ul.nav li').hover(function(){
|
||||
$(this).fadeTo(60, 0.5);
|
||||
}, function(){
|
||||
$(this).fadeTo(80, 1);
|
||||
});
|
||||
|
||||
$('#status_message_message').click(function() {
|
||||
$(this).val("")
|
||||
});
|
||||
$('#status_message_message').click(function() {
|
||||
$(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
|
||||
DatabaseCleaner.start
|
||||
WebSocket.stub!(:update_clients)
|
||||
#WebSocket.stub!(:update_clients)
|
||||
end
|
||||
|
||||
config.after(:each) do
|
||||
|
|
|
|||
Loading…
Reference in a new issue