]> andersk Git - test.git/blobdiff - shellinabox/shell_in_a_box.jspp
Use JavaScript redirection for attaching the missing slash to
[test.git] / shellinabox / shell_in_a_box.jspp
index 29c49e43dba88b02462d132419941b4b3bc8c463..11b91d506664e992a234ec0848e1ca2e2399dae6 100644 (file)
@@ -333,7 +333,7 @@ ShellInABox.prototype.extendContextMenu = function(entries, actions) {
           // provide a menu entry to switch between the two.
           var newNode       = document.createElement('li');
           var isSecure;
-          if (document.location.href != '') {
+          if (document.location.hash != '') {
             isSecure        = !this.nextUrl.match(/\?plain$/);
           } else {
             isSecure        =  this.nextUrl.match(/^https:/);
This page took 0.029504 seconds and 4 git commands to generate.