From 4734cd8198caf14319d98f7b988346ffbddae2f4 Mon Sep 17 00:00:00 2001 From: Brendan Dahl Date: Wed, 10 Oct 2012 15:46:04 -0700 Subject: [PATCH] Change status attribute name. --- web/viewer.css | 2 +- web/viewer.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web/viewer.css b/web/viewer.css index 378516dc9..b57698c37 100644 --- a/web/viewer.css +++ b/web/viewer.css @@ -295,7 +295,7 @@ html[dir='rtl'] .findbar { -moz-user-select:none; } -#findInput[status="pending"] { +#findInput[data-status="pending"] { background-image: url(images/loading-small.png); background-repeat: no-repeat; background-position: right; diff --git a/web/viewer.js b/web/viewer.js index faa0d59a3..6d0829b6d 100644 --- a/web/viewer.js +++ b/web/viewer.js @@ -585,7 +585,7 @@ var PDFFindBar = { this.findField.classList.remove('notFound'); } - this.findField.setAttribute('status', status); + this.findField.setAttribute('data-status', status); this.findMsg.textContent = findMsg; },