codeview

A light and fast web based git repository viewer

Log | Files | Refs | README | LICENSE

commit 02acefb7e73875ab2cb029022b4f97efc9834ba6
parent d02e25076c42121063e96d36f8c7ae127405e2ba
Author: Abdul Rahim <abdul.rahim@myyahoo.com>
Date:   Tue,  1 Oct 2024 03:47:03 +0530

update

Diffstat:
Mstagit.c | 30+++++++++++++++---------------
1 file changed, 15 insertions(+), 15 deletions(-)

diff --git a/stagit.c b/stagit.c @@ -555,21 +555,21 @@ writeheader(FILE *fp, const char *title) /* * add vim keybindings */ - fputs("<script src=\"https://cdnjs.cloudflare.com/ajax" - "/libs/mousetrap/1.6.3/mousetrap.min.js\"></script>\n", fp); - - - fputs("<script>\n" - "Mousetrap.bind('j', function() {\n" - "window.scrollBy(0, 100);\n" - "return false;\n" - "});\n" - "Mousetrap.bind('k', function() {\n" - "window.scrollBy(0, -100);\n" - "return false;\n" - "});\n" - "</script>\n", fp); - +// fputs("<script src=\"https://cdnjs.cloudflare.com/ajax" +// "/libs/mousetrap/1.6.3/mousetrap.min.js\"></script>\n", fp); +// +// +// fputs("<script>\n" +// "Mousetrap.bind('j', function() {\n" +// "window.scrollBy(0, 100);\n" +// "return false;\n" +// "});\n" +// "Mousetrap.bind('k', function() {\n" +// "window.scrollBy(0, -100);\n" +// "return false;\n" +// "});\n" +// "</script>\n", fp); +// fputs("</head>\n<body>\n<table><tr><td>", fp); fprintf(fp, "<a href=\"../%s\"><img src=\"%slogo.png\" alt=\"\" width=\"32\" height=\"32\" /></a>",