I incorrectly called css-transitions css-transforms. Fixed that.
I incorrectly called css-transitions css-transforms. Fixed that.
--- a/browser/base/content/tabcandy/app/groups.js
+++ b/browser/base/content/tabcandy/app/groups.js
@@ -352,17 +352,17 @@ function scaleTab( el, factor ){
$(".tab").data('isDragging', false)
.draggable(window.Groups.dragOptions)
.droppable(window.Groups.dropOptions);
$(".tab").click(function(){
// ZOOM!
var ffVersion = parseFloat(navigator.userAgent.match(/\d{8}.*(\d\.\d)/)[1]);
- if( ffVersion < 3.7 ) Utils.error("css-transforms require Firefox 3.7+");
+ if( ffVersion < 3.7 ) Utils.error("css-transitions require Firefox 3.7+");
var [w,h] = [$(this).width(), $(this).height()];
var origPos = $(this).position();
var scale = window.innerWidth/w;
var fontSize = parseInt($(this).css("font-size"));
$(this).addClass("scale-animate").css({
top: 0, left: 0,
--- a/browser/base/content/tabcandy/app/ui.js
+++ b/browser/base/content/tabcandy/app/ui.js
@@ -29,17 +29,17 @@ var Page = {
}
$div.mouseup(function(e){
if( e.target.className == "close" ){
$(this).find("canvas").data("link").tab.close(); }
else {
if(!$(this).data('isDragging')) {
var ffVersion = parseFloat(navigator.userAgent.match(/\d{8}.*(\d\.\d)/)[1]);
- if( ffVersion < 3.7 ) Utils.error("css-transforms require Firefox 3.7+");
+ if( ffVersion < 3.7 ) Utils.error("css-transitions require Firefox 3.7+");
// ZOOM!
var [w,h] = [$(this).width(), $(this).height()];
var origPos = $(this).position();
var scale = window.innerWidth/w;
$(this).addClass("scale-animate").css({
top: 0, left: 0,