diff --git a/README.md b/README.md index 8d7f8b6..f97f63f 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,7 @@ ChromeADB ========= [![Build Status](https://travis-ci.org/importre/chromeadb.svg?branch=master)](https://travis-ci.org/importre/chromeadb) +[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-ChromeADB-brightgreen.svg?style=flat)](https://android-arsenal.com/details/1/863) **ChromeADB** is a Chrome ADB (Android Debug Bridge) client. diff --git a/src/scripts/controllers.js b/src/scripts/controllers.js index 7ab1c8d..7aa7de4 100644 --- a/src/scripts/controllers.js +++ b/src/scripts/controllers.js @@ -766,7 +766,7 @@ adb.controller('controller', ['$scope', '$q', 'socketService', '$sce', function $scope.mouseMoveLog = 'coord: (' + x + ', ' + y + ')'; - if ($scope.coords === null) { + if (!$scope.coords) { $scope.coords = []; }