Просмотр исходного кода

Add in tooltips to make the radio buttons clearer in the history view

James Allen 12 лет назад
Родитель
Сommit
6f2b7e43a6
1 измененных файлов с 11 добавлено и 0 удалено
  1. 11 0
      services/web/public/coffee/track-changes/ChangeListView.coffee

+ 11 - 0
services/web/public/coffee/track-changes/ChangeListView.coffee

@@ -211,6 +211,17 @@ define [
 			else
 				@$el.addClass("first-in-day")
 
+			@$(".change-selector-from").tooltip({
+				title: "Show back to this change",
+				placement: "left",
+				animation: false
+			})
+			@$(".change-selector-to").tooltip({
+				title: "Show up to this change",
+				placement: "left",
+				animation: false
+			})
+
 			return this
 
 		onClick: (e) ->