forked from mrlan/EnglishPal
				
			Merge pull request 'Bug577-JiangXueQin' (#163) from Bug577-JiangXueQin into Alpha-snapshot20240618
Reviewed-on: mrlan/EnglishPal#163Bug578-ChenChen
						commit
						98027158b5
					
				|  | @ -43,6 +43,17 @@ | |||
|           white-space: pre-wrap; | ||||
|       } | ||||
| 
 | ||||
|       .arrow { | ||||
| 	  padding: 0; | ||||
| 	  font-size: 20px; | ||||
| 	  line-height: 21px; | ||||
| 	  display: inline-block; | ||||
|       } | ||||
| 
 | ||||
|       .arrow:hover { | ||||
| 	  cursor: pointer; | ||||
|       } | ||||
| 
 | ||||
|     </style> | ||||
| </head> | ||||
| <body> | ||||
|  | @ -252,8 +263,6 @@ | |||
|             } | ||||
|         }); | ||||
|     } | ||||
| 
 | ||||
| 
 | ||||
|     function update(today_article){ | ||||
|         $('#user_level').html(today_article['user_level']); | ||||
|         $('#text_level').html(today_article["text_level"]); | ||||
|  | @ -269,7 +278,6 @@ | |||
|         document.querySelector('#user_level').classList.add('mark'); // do the same thing for user difficulty level | ||||
|         setTimeout(() => {document.querySelector('#user_level').classList.remove('mark');}, 2000); | ||||
|     } | ||||
| <!-- 检查是否存在上一篇或下一篇,不存在设上一篇按钮为灰色--> | ||||
|     function check_pre(visited_articles){ | ||||
|         if((visited_articles=='')||(visited_articles['index']<=0)){ | ||||
|             $('#load_pre_article').addClass('gray-background'); // 设置为灰色 | ||||
|  |  | |||
|  | @ -46,5 +46,7 @@ | |||
|             {% endfor %} | ||||
|         {% endif %} | ||||
|       </div> | ||||
|     <script>window.history.replaceState(null, null, window.location.href); | ||||
| </script> | ||||
|     </body> | ||||
| </html> | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue