Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Commit

Permalink
Merge pull request #1897 from JakeStoeffler/issue-1886
Browse files Browse the repository at this point in the history
Fix for #1886
  • Loading branch information
RaymondLim committed Oct 20, 2012
2 parents ce4b535 + b7d2176 commit a8dc013
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/LiveDevelopment/LiveDevelopment.js
Original file line number Diff line number Diff line change
Expand Up @@ -500,9 +500,7 @@ define(function LiveDevelopment(require, exports, module) {
}

/** Triggered by a document saved from the DocumentManager */
function _onDocumentSaved() {
var doc = _getCurrentDocument();

function _onDocumentSaved(event, doc) {
if (doc && Inspector.connected() && _classForDocument(doc) !== CSSDocument) {
if (agents.network && agents.network.wasURLRequested(doc.url)) {
// Reload HTML page
Expand Down

0 comments on commit a8dc013

Please sign in to comment.