mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-21 23:08:00 +01:00
explicitly set JS version to 1.7
This commit is contained in:
@@ -742,7 +742,9 @@ function Vimperator()
|
|||||||
// After pressing Escape, put focus on a non-input field of the browser document
|
// After pressing Escape, put focus on a non-input field of the browser document
|
||||||
this.focusContent = function()
|
this.focusContent = function()
|
||||||
{
|
{
|
||||||
var ww = Components.classes["@mozilla.org/embedcomp/window-watcher;1"].getService(Components.interfaces.nsIWindowWatcher);
|
var ww = Components.classes["@mozilla.org/embedcomp/window-watcher;1"].
|
||||||
|
getService(Components.interfaces.nsIWindowWatcher);
|
||||||
|
|
||||||
if (window == ww.activeWindow && document.commandDispatcher.focusedElement)
|
if (window == ww.activeWindow && document.commandDispatcher.focusedElement)
|
||||||
document.commandDispatcher.focusedElement.blur();
|
document.commandDispatcher.focusedElement.blur();
|
||||||
|
|
||||||
|
|||||||
@@ -38,16 +38,16 @@ the terms of any one of the MPL, the GPL or the LGPL.
|
|||||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||||||
|
|
||||||
<script type="application/x-javascript" src="help.js"/>
|
<script type="application/x-javascript;version=1.7" src="help.js"/>
|
||||||
<script type="application/x-javascript" src="vimperator.js"/>
|
<script type="application/x-javascript;version=1.7" src="vimperator.js"/>
|
||||||
<script type="application/x-javascript" src="commands.js"/>
|
<script type="application/x-javascript;version=1.7" src="commands.js"/>
|
||||||
<script type="application/x-javascript" src="ui.js"/>
|
<script type="application/x-javascript;version=1.7" src="ui.js"/>
|
||||||
<script type="application/x-javascript" src="settings.js"/>
|
<script type="application/x-javascript;version=1.7" src="settings.js"/>
|
||||||
<script type="application/x-javascript" src="completion.js"/>
|
<script type="application/x-javascript;version=1.7" src="completion.js"/>
|
||||||
<script type="application/x-javascript" src="bookmarks.js"/>
|
<script type="application/x-javascript;version=1.7" src="bookmarks.js"/>
|
||||||
<script type="application/x-javascript" src="hints.js"/>
|
<script type="application/x-javascript;version=1.7" src="hints.js"/>
|
||||||
<script type="application/x-javascript" src="file.js"/>
|
<script type="application/x-javascript;version=1.7" src="file.js"/>
|
||||||
<script type="application/x-javascript" src="find.js"/>
|
<script type="application/x-javascript;version=1.7" src="find.js"/>
|
||||||
|
|
||||||
<window id="main-window">
|
<window id="main-window">
|
||||||
<toolbar id="vimperator-toolbar" hidden="false" align="center" fullscreentoolbar="true">
|
<toolbar id="vimperator-toolbar" hidden="false" align="center" fullscreentoolbar="true">
|
||||||
|
|||||||
Reference in New Issue
Block a user