GUAC-932: Fix dimension checking logic.
This commit is contained in:
1 parent
f5e300250d
commit
331644ddd9
1 file changed
+1
-1
@@ -306,7 +306,7 @@ angular.module('client').directive('guacClient', [function guacClient() {
|
||||
client.disconnect();
|
||||
|
||||
// Update stored thumbnail of previous connection
|
||||
if (previousID && display && display.getWidth() >= 0 && display.getHeight() >= 0) {
|
||||
if (previousID && display && display.getWidth() > 0 && display.getHeight() > 0) {
|
||||
|
||||
// Get screenshot
|
||||
var canvas = display.flatten();
|
||||
|
||||
Reference in new issue
Block a user