jonrohan/ZeroClipboard — pull request #26 by jonrohan (2012-12-09 22:28:46+00:00)
Title: Title specified with `setTitle` should take precedence over an existing "title" attribute on the DOM element targeted for gluing

If I glue to an element that already has a "title" attribute (with a value), that existing title [takes precedent](https://github.com/jonrohan/ZeroClipboard/blob/ebaee84d5a7325d736c44d68b5091ab0fc96e767/src/javascript/ZeroClipboard.js#L120-L122) over the title value that I set for my ZeroClipboard client:
```js
if (this.domElement.getAttribute("title") != null) {
this.title = this.domElement.getAttribute("title");
}
```

That is _not_ the behavior I would expect. I would expect to see:
```js
if (!this.title && this.domElement.getAttribute("title") != null) {
this.title = this.domElement.getAttribute("title");
}
```