Merge pull request #361 from ahodesuka/master

Add protocol to $.open
This commit is contained in:
Mayhem 2012-05-12 12:21:31 -07:00
commit b35e929519
2 changed files with 2 additions and 2 deletions

View File

@ -451,7 +451,7 @@
}
},
open: function(url) {
return (GM_openInTab || window.open)(url, '_blank');
return (GM_openInTab || window.open)(location.protocol + url, '_blank');
},
isDST: function() {
/*

View File

@ -348,7 +348,7 @@ $.extend $,
el.removeEventListener event, handler, false
return
open: (url) ->
(GM_openInTab or window.open) url, '_blank'
(GM_openInTab or window.open) location.protocol + url, '_blank'
isDST: ->
###
http://en.wikipedia.org/wiki/Eastern_Time_Zone