Browse Source

Update Timeline component

Daniel Supernault 6 năm trước cách đây
mục cha
commit
a760d66931
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      resources/assets/js/components/Timeline.vue

+ 4 - 0
resources/assets/js/components/Timeline.vue

@@ -712,6 +712,10 @@
 					return;
 				}
 
+				if(window.confirm('Are you sure you want to delete this post?') == false) {
+					return;
+				}
+				
 				axios.post('/i/delete', {
 					type: 'status',
 					item: status.id