Make screenshot feature compatible with Firefox 40
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -18,7 +18,7 @@ Dropdown.prototype.listen = function() {
|
||||
if (! submenu.is(':visible')) {
|
||||
self.close();
|
||||
|
||||
if ($(this).offset().top + submenuHeight > $(window).height()) {
|
||||
if ($(this).offset().top + submenuHeight - $(window).scrollTop() > $(window).height()) {
|
||||
submenu.addClass('dropdown-submenu-open dropdown-submenu-top');
|
||||
}
|
||||
else {
|
||||
|
||||
@@ -106,7 +106,7 @@ Screenshot.prototype.checkInput = function() {
|
||||
}
|
||||
}
|
||||
|
||||
pasteCatcher.innerHTML = "";
|
||||
this.pasteCatcher.innerHTML = "";
|
||||
};
|
||||
|
||||
// Creates a new image from a given source
|
||||
|
||||
Reference in New Issue
Block a user