回答編集履歴

1

コード修正

2016/03/14 06:34

投稿

orange0190
orange0190

スコア1698

test CHANGED
@@ -2,15 +2,19 @@
2
2
 
3
3
  ```javascript
4
4
 
5
- $(document).on("mouseenter", ".thumbnail", function(e) {
5
+ $(function(){
6
6
 
7
- $(this).find('.operation_list').css('display', 'block');
7
+ $(document).on("mouseenter", ".thumbnail", function(e) {
8
8
 
9
- });
9
+ $(this).find('.operation_list').css('display', 'block');
10
10
 
11
- $(document).on("mouseleave", ".thumbnail", function(e){
11
+ });
12
12
 
13
+ $(document).on("mouseleave", ".thumbnail", function(e){
14
+
13
- $('.operation_list').css('display', 'none');
15
+ $('.operation_list').css('display', 'none');
16
+
17
+ });
14
18
 
15
19
  });
16
20