Skip to content

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also .

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also .
...
  • 2 commits
  • 2 files changed
  • 0 commit comments
  • 1 contributor
Showing with 4 additions and 6 deletions.
  1. +3 −5 spectrum.css
  2. +1 −1 spectrum.js
View
8 spectrum.css
@@ -14,6 +14,7 @@ License: MIT
left:0;
display:inline-block;
*display: inline;
+ *zoom: 1;
z-index: 100;
overflow: hidden;
}
@@ -205,7 +206,7 @@ License: MIT
.sp-input-container {
float:right;
width: 100px;
- margin-bottom:0;
+ margin-bottom: 4px;
}
.sp-initial-disabled .sp-input-container {
width: 100%;
@@ -279,10 +280,7 @@ License: MIT
/* Buttons */
.sp-button-container {
- margin-top: 3px;
- clear: both;
float: right;
- margin-top: 4px;
}
/* Replacer (the little preview div that shows up instead of the <input>) */
@@ -292,7 +290,7 @@ License: MIT
cursor:pointer;
padding: 4px;
display:inline-block;
- zoom: 1;
+ *zoom: 1;
*display: inline;
border: solid 1px #91765d;
background: #eee;
View
2 spectrum.js
@@ -270,7 +270,7 @@
return false;
}
- var paletteEvent = $.browser.msie ? "mousedown.spectrum" : "click.spectrum touchstart.spectrum";
+ var paletteEvent = "click.spectrum touchstart.spectrum";
paletteContainer.delegate("span", paletteEvent, palletElementClick);
initialColorContainer.delegate("span::nth-child(1)", paletteEvent, { ignore: true }, palletElementClick);
}

No commit comments for this range

Something went wrong with that request. Please try again.