GUAC-898: Use camelCase for new code.

This commit is contained in:
Michael Jumper
2014-12-07 01:02:54 -08:00
parent c9f485afbc
commit c23d3e27e9

View File

@@ -431,9 +431,9 @@ angular.module('client').directive('guacClient', [function guacClient() {
// Send new display size, if changed
if (client && display) {
var pixel_density = $window.devicePixelRatio || 1;
var width = main.offsetWidth * pixel_density;
var height = main.offsetHeight * pixel_density;
var pixelDensity = $window.devicePixelRatio || 1;
var width = main.offsetWidth * pixelDensity;
var height = main.offsetHeight * pixelDensity;
if (display.getWidth() !== width || display.getHeight() !== height)
client.sendSize(width, height);