1
0
mirror of https://github.com/mrclay/minify.git synced 2025-08-08 15:16:56 +02:00

Fix displayed URLs in builder for HTTPS

This commit is contained in:
Steve Clay
2015-09-29 16:39:25 -04:00
parent 5f2c54f636
commit 3a3354aec6

View File

@@ -25,7 +25,7 @@ var MUB = {
* Get markup for new source LI element * Get markup for new source LI element
*/ */
newLi : function () { newLi : function () {
return '<li id="li' + MUB._uid + '">http://' + location.host + '/<input type=text size=20>' + return '<li id="li' + MUB._uid + '">' + location.protocol + '//' + location.host + '/<input type=text size=20>' +
' <button class="btn btn-danger btn-sm" title="Remove">x</button> <button class="btn btn-default btn-sm" title="Include Earlier">&uarr;</button>' + ' <button class="btn btn-danger btn-sm" title="Remove">x</button> <button class="btn btn-default btn-sm" title="Include Earlier">&uarr;</button>' +
' <button class="btn btn-default btn-sm" title="Include Later">&darr;</button> <span></span></li>'; ' <button class="btn btn-default btn-sm" title="Include Later">&darr;</button> <span></span></li>';
}, },