Skip to content
This repository was archived by the owner on Mar 13, 2018. It is now read-only.

Commit 0adb0ce

Browse files
committed
Merge pull request #27 from Polymer/fix26
Fixes #26
2 parents 5631d73 + 0ec3bb5 commit 0adb0ce

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

core-tooltip.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
2+
Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
33
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
44
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
55
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
@@ -77,8 +77,8 @@
7777
<!-- TODO: possibly reuse core-overlay. -->
7878
<polymer-element name="core-tooltip" attributes="noarrow position label show tipAttribute" role="tooltip" tabindex="0">
7979
<template>
80-
8180
<link rel="stylesheet" href="core-tooltip.css">
81+
8282
<div id="tooltip" hidden?="{{!hasTooltipContent}}"
8383
class="core-tooltip {{position}} {{ {noarrow: noarrow, show: show && !disabled} | tokenList}}">
8484
<content id="c" select="[{{tipAttribute}}]">{{label}}</content>
@@ -165,7 +165,7 @@
165165
this.tipElement = null;
166166

167167
for (var i = 0, el; el = this.$.c.getDistributedNodes()[i]; ++i) {
168-
if (el.hasAttribute && el.hasAttribute('tip')) {
168+
if (el.hasAttribute && el.hasAttribute(this.tipAttribute)) {
169169
this.tipElement = el;
170170
break;
171171
}

demo.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!--
22
@license
3-
Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
3+
Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
44
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
55
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
66
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!doctype html>
22
<!--
3-
Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
3+
Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
44
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE
55
The complete set of authors may be found at http://polymer.github.io/AUTHORS
66
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS

metadata.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!--
22
@license
3-
Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
3+
Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
44
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
55
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
66
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt

0 commit comments

Comments
 (0)