diff options
| author | Misko Hevery | 2010-04-19 12:54:39 -0700 | 
|---|---|---|
| committer | Misko Hevery | 2010-04-19 12:54:39 -0700 | 
| commit | 8e1b670d5b262f70fdbf4c4b01d3109d54a12ac5 (patch) | |
| tree | 0e544718aeb3c2d460e4e7ede533b62ffcccac17 /src/markups.js | |
| parent | 8394353b8580eadb9502abbcc963b594c9d9f53f (diff) | |
| download | angular.js-8e1b670d5b262f70fdbf4c4b01d3109d54a12ac5.tar.bz2 | |
fix ie bug with .text() on jqlite
Diffstat (limited to 'src/markups.js')
| -rw-r--r-- | src/markups.js | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/markups.js b/src/markups.js index 5c069f49..4207d83f 100644 --- a/src/markups.js +++ b/src/markups.js @@ -53,7 +53,7 @@ angularTextMarkup('{{}}', function(text, textNode, parentElement) {  // TODO: this should be widget not a markup  angularTextMarkup('OPTION', function(text, textNode, parentElement){ -  if (parentElement[0].nodeName == "OPTION") { +  if (nodeName(parentElement) == "OPTION") {      var select = document.createElement('select');      select.insertBefore(parentElement[0].cloneNode(true), null);      if (!select.innerHTML.match(/<option(\s.*\s|\s)value\s*=\s*.*>.*<\/\s*option\s*>/gi)) { | 
