mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-04 04:44:20 +01:00
Filter :au Fullscreen on fullscreen state rather than buffer URL. Remove bloody moz-collapsed attribute at the same time.
This commit is contained in:
@@ -1076,9 +1076,10 @@ var Events = Module("events", {
|
||||
|
||||
onResize: function onResize(event) {
|
||||
if (window.fullScreen != this._fullscreen) {
|
||||
statusline.statusBar.removeAttribute("moz-collapsed");
|
||||
this._fullscreen = window.fullScreen;
|
||||
dactyl.triggerObserver("fullscreen", this._fullscreen);
|
||||
autocommands.trigger("Fullscreen", { state: this._fullscreen });
|
||||
autocommands.trigger("Fullscreen", { url: this._fullscreen ? "on" : "off", state: this._fullscreen });
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
@@ -407,7 +407,7 @@ function isSubclass(targ, src) {
|
||||
* returns true if ({}.toString.call(object) == "[object <interfaces>]").
|
||||
*
|
||||
* @param {object} object The object to check.
|
||||
* @param {object|string|[object|string]} interfaces The types to check object against.
|
||||
* @param {constructor|[constructor|string]} interfaces The types to check object against.
|
||||
* @returns {boolean}
|
||||
*/
|
||||
var isinstance_types = {
|
||||
|
||||
Reference in New Issue
Block a user