From bbf18d6acee87299a5c19922a760d6cc7e9fead1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20Zbytovsky=CC=81?= Date: Sat, 16 Apr 2016 18:10:05 +0200 Subject: [PATCH] Rawgit button near Raw button --- script.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/script.js b/script.js index a5045e2..0fc61e1 100644 --- a/script.js +++ b/script.js @@ -34,7 +34,10 @@ var FileDownloader = { var rawUrlNode = document.querySelector('#raw-url'); if (rawUrlNode && !document.querySelector('#download-btn')) { var fileName = document.querySelector('.breadcrumb .final-path').textContent; - rawUrlNode.parentNode.innerHTML = "Download" + rawUrlNode.parentNode.innerHTML; + rawUrlNode.parentNode.innerHTML = "Download" + + "Rawgit" + + rawUrlNode.parentNode.innerHTML; + } },