diff --git a/features/step_definitions/custom_web_steps.rb b/features/step_definitions/custom_web_steps.rb index 594ffc2f6..01a7965a0 100644 --- a/features/step_definitions/custom_web_steps.rb +++ b/features/step_definitions/custom_web_steps.rb @@ -54,7 +54,7 @@ When /^I append "([^"]*)" to the publisher$/ do |stuff| end And /^I hover over the "([^"]+)"$/ do |element| - page.execute_script("$(\"#{element}\").first().mouseover()") + page.execute_script("$(\"#{element}\").first().addClass('hover')") end When /^I click to delete the first post$/ do diff --git a/public/stylesheets/sass/application.sass b/public/stylesheets/sass/application.sass index e0f276da8..331ffe29b 100644 --- a/public/stylesheets/sass/application.sass +++ b/public/stylesheets/sass/application.sass @@ -2938,7 +2938,8 @@ ul.left_nav a.tag_selector :width 140px - li:hover + li:hover, + li.hover .edit, .unfollow_icon :display inline-block